% Converted from Microsoft Word to LaTeX
% by Chikrii Softlab Word2TeX converter (version 5.0)
% Copyright (C) 1999-2011 Chikrii Softlab. All rights reserved.
% http://www.chikrii.com
% mailto: support@chikrii.com
% License: CSL#005E58

\documentclass{article}
\usepackage{latexsym}
\usepackage{graphicx}
\usepackage{longtable}

\hypersetup{urlbordercolor=0 0 0,pdfborder=0 0 1 [3 2]}

\begin{document}
\begin{figure}[htbp]
\centerline{\includegraphics[width=4.63in,height=2.78in]{Design1.eps}}
\label{fig1}
\end{figure}

\begin{center}
{\LARGE \textbf{Introduction to VANTAGE PDMS Design Templates}}
\end{center}

\begin{center}
\textbf{Version 11.6SP1}
\end{center}

\begin{figure}[htbp]
\centerline{\includegraphics[width=5.05in,height=2.46in]{Design2.eps}}
\label{fig2}
\end{figure}

{\small \textbf{pdms1161/Design Templates Introduction issue 260605}}

This manual provides documentation relating to products to which you may not 
have access or which may not be licensed to you. For further information on 
which Products are licensed to you please refer to your licence conditions.

 $\heartsuit $\textbf{ Copyright 1991 through 2005 AVEVA Solutions 
Limited}

All rights reserved. No part of this document may be reproduced, stored in a 
retrieval system or transmitted, in any form or by any means, electronic, 
mechanical, photocopying, recording or otherwise, without prior written 
permission of AVEVA Solutions.

The software programs described in this document are confidential 
information and proprietary products of AVEVA Solutions or its licensors.

\underline {http://www.aveva.com}

\begin{figure}[htbp]
\centerline{\includegraphics[width=5.54in,height=1.83in]{Design3.eps}}
\label{fig3}
\end{figure}

{\small AVEVA Solutions Ltd, High Cross, Madingley Road, Cambridge CB3 0HB, 
UK}

\section{Revision History}
\begin{longtable}[htbp]
{|p{69pt}|l|l|}
\hline
\endhead
\hline
\endfoot
\textbf{Date}& 
\textbf{Version}& 
\textbf{Notes} \\
\hline
October 2003& 
11.5& 
Updates for this release. \\
\hline
August 2004& 
11.6& 
Updates for this release plus some general fixes. \\
\hline
June 2005& 
11.6SP1& 
Corrections for this release.
\label{tab1}
\end{longtable}

\begin{figure}[htbp]
\centerline{\includegraphics[width=5.44in,height=0.01in]{Design4.eps}}
\label{fig4}
\end{figure}

{\small \textit{Contents}}

\section{Contents}
\begin{enumerate}
\item \textbf{Read This First 1-1}
\item {\small The scope of the Guide 1-1}
	\begin{enumerate}
	\item {\small Intended audience 1-1}
	\item {\small Assumptions 1-2}
	\item {\small About the tutorial exercise 1-2}
	\item {\small Further reading 1-2}
	\end{enumerate}
\item {\small Text conventions 1-2}
\item {\small Terminology 1-3}
\item {\small How the Guide is organised 1-3}
\item \textbf{Introducing VANTAGE PDMS 2-1}
\item {\small Introducing the structure of PDMS 2-1}
\item {\small The strengths of PDMS 2-1}
\item \textbf{Getting Started 3-1}
\item {\small Logging in 3-1}
\item {\small Using the mouse 3-1}
\item {\small Using forms 3-2}
	\begin{enumerate}
	\item {\small Using text boxes 3-2}
	\item {\small Using drop-down lists 3-3}
	\end{enumerate}
\item {\small The PDMS startup display 3-4}
\item {\small Using menus 3-6}
\item {\small Using the tool bar 3-6}
\item {\small Using the Design Explorer 3-7}
\item {\small Using the status bar 3-8}
\item {\small More on using forms 3-9}
	\begin{enumerate}
	\item {\small Using option buttons 3-9}
	\item {\small Using check boxes 3-9}
	\item {\small Using scrollable lists 3-10}
	\item {\small Using action buttons 3-10}
	\end{enumerate}
\item {\small Responding to alert forms 3-10}
\item {\small Using on-line Help 3-10}
\item \textbf{Creating a Simple Template 4-1}
\item {\small The basic concepts 4-1}
\item {\small Creating an initial template design 4-1}
\item {\small The Design Template hierarchy 4-5}
\item {\small Copying Design geometry into a template 4-6}
\item {\small Event-driven graphics mode 4-7}
\item {\small Modifying the template geometry 4-9}
\item \textbf{Setting Template Properties and Rules 5-1}
\item {\small Defining the template properties 5-1}
\item {\small Defining a template rule 5-4}
\item {\small How template data is accessed in the Design hierarchy 5-5}
\item {\small Defining more template rules 5-6}
\item \textbf{Adding a Template into a Catalogue Specification 6-1}
\item {\small How a template is accessed via a Specification 6-1}
\item {\small Setting a template reference in a Specification 6-2}
\item \textbf{A More Advanced Example 7-1}
\item {\small Building up a Design from subsidiary parts 7-1}
\item {\small Restricting property values for use in a Design 7-3}
\item {\small Adding Design Points 7-5}
\item {\small Assigning local names to template elements 7-7}
\item {\small Specifying priorities for evaluating rules 7-8}
\item {\small Setting references to sub-equipments 7-12}
\item {\small How rules associated with valid values are stored 7-17}
\item {\small Adding vessel supports 7-18}
\item {\small Showing dimensions on template designs 7-19}
\item {\small Testing your design template 7-23}
\item \textbf{Some Further Information for Template Designers 8-1}
\item {\small Using pseudo-attributes for accessing data 8-1}
\item {\small Associating a plotfile with a design template 8-2}
\item \textbf{Hints and Tips 9-1}
\item {\small Preliminary planning 9-1}
\item {\small Some specific points to remember 9-1}
	\begin{enumerate}
	\item {\small Get the template origin right 9-1}
	\item {\small Get the template orientation right 9-2}
	\item {\small Use a consistent naming convention 9-2}
	\item {\small Do not use `external' values directly in rules 9-2}
	\item {\small Consider adding extra design points 9-2}
	\item {\small Consider the units of measurement 9-3}
	\item {\small Consider associated negative geometry 9-3}
	\item {\small Always test a new template in a Design 9-3}
	\end{enumerate}
\item \textbf{Other relevant documentation 4}
\item {\small On-Line Help 4}
\end{enumerate}
{\small A.3 PDMS Reference Manuals 2}

\section{Read This First}
\label{sec:mylabel1}
\subsubsection{The scope of the Guide}
\label{subsubsec:mylabel1}
This guide introduces the facilities provided by AVEVA for the creation of 
Design Templates. These are standard design configurations which you can 
store for subsequent use by yourself or other designers.

The guide explains the main concepts underlying the creation of Design 
Templates and their incorporation into the Specifications which make them 
accessible to other PDMS designers. A key feature of the guide is a hands-on 
tutorial exercise which is incorporated throughout.

This guide does \textbf{not }give step-by-step instructions on how to carry 
out every specific template design function, since you can access such 
information as you work by using the on-line help facilities incorporated 
into the program's graphical user interface.

If you are not yet familiar with the use of the PDMS Design module, it is 
recommended that you first work through one or more of the discipline- 
specific `getting started' guides (\textit{Pipework Design Using PDMS}, \textit{Structural Design Using PDMS}, etc.) and practise using the various 
Design applications. You need to be proficient in the use of Design before 
you try to create design templates for use by others. You also need to be 
familiar with the main principles of managing Catalogues and Specifications 
in PDMS databases using the Paragon and Specon modules: the use of Design 
Templates provides an extension of those facilities.

For fuller information about using the whole range of PDMS facilities, refer 
to the sources listed in Appendix A of this guide.

\paragraph{Intended audience}
\label{para:intended}
This guide has been written for engineers familiar with template design 
practices that may or may not have prior knowledge of PDMS.

\paragraph{Assumptions}
\label{para:assumptions}
For you to use this guide, the sample PDMS project, Project SAM, must be 
correctly installed on your system, and you must have read/write access to 
the project databases.

It is assumed that you know:

\begin{itemize}
\item where to find PDMS on your computer system
\item you know how to use the Windows operating system installed on your site.
\end{itemize}
Contact your systems administrator if you need help in either of these 
areas.

\paragraph{About the tutorial exercise}
\label{para:about}
All the steps of the exercise are numbered sequentially throughout the 
guide. The start and end of each part of the exercise is marked by lines 
across the page to separate them from the general information sections, like 
this:

\paragraph{Further reading}
\label{para:further}
You can find a list of relevant AVEVA documentation in the appendices of 
this guide.

\subsubsection{Text conventions}
\label{subsubsec:mylabel2}
This guide uses the following text conventions:

Serif for the majority of the text.

\textbf{Bold }to highlight important information, and to introduce special 
terminology.

\textit{Serif italic }to denote internal cross references and citations.

Sans-serif to denote keys on your keyboard.

\textbf{Sans-serif bold }for menu names and options, and for the names of 
forms.

Typewriter for text within a form, including text that you enter yourself 
using the keyboard.

{\small \textit{Read This First}}

\subsubsection{Terminology}
\label{subsubsec:terminology}
You can switch rapidly between the different parts of the program, so that 
the distinctions between them become almost imperceptible, but you need to 
recognise what is happening when you select from the different functions 
available to you from the various menus.

The following terms are used throughout this guide to describe what action 
to carry out:

\begin{center}
\textbf{Enter }Type text into the specified dialogue box, then press the
\end{center}

\begin{center}
Enter (or Return) key to confirm the entry.
\end{center}

\textbf{Click }Place the mouse cursor over a specified point, then quickly 
press and release the designated mouse button. If no button is specified, 
use the left-hand mouse button.

\textbf{Pick }Click on the required item to select it.

\textbf{Drag }Place the mouse cursor over a specified point, then press and 
hold down the required mouse button while moving the cursor to a second 
specified point. Release the button over the second point.

\textbf{Double-click }Place the mouse cursor over a specified point, then 
click the left-hand mouse button twice in quick succession.

\subsubsection{How the Guide is organised}
This guide contains the following chapters and appendices: \textbf{Chapter 1 
}introduces this guide and summarises its scope.

\textbf{Chapter 2 }introduces PDMS.

\textbf{Chapter 3 }explains how to log in to PDMS and gives a general guide 
to using the PDMS graphical user interface, including an explanation of how 
to access detailed on-line help.

\textbf{Chapter 4 }first introduces the concept of design templates. It then 
describes the geometric design of a simple template representing a 
structural penetration hole surrounded by a kickplate assembly.

\textbf{Chapter 5 }explains how to set up the properties and rules to 
parameterise the design template dimensions so that it can be used in 
subsequent design operations.

\textbf{Chapter 6 }summarises the steps needed to include the design 
template in a PDMS catalogue, so that it can be selected by a designer via a 
specification.

\textbf{Chapter 7 }further illustrates the principles by means of a more 
complex example representing an equipment vessel with user-selectable end 
configurations.

\textbf{Chapter 8 }gives some additional information which you might find 
relevant as you gain experience of template design.

\textbf{Chapter 9 }lists some points to remember to ensure success when 
designing templates.

\textbf{Appendix A }identifies other sources of information which 
supplement, and expand upon, the brief details given in this guide.

The guide concludes with an Index, allowing you to refer back to any 
specific topics about whose details you need to be reminded.

\section{Introducing VANTAGE PDMS}
\label{sec:introducing}
This chapter provides:

\begin{itemize}
\item an introduction to PDMS
\item an explanation of the structure of PDMS
\item the strengths of PDMS
\item template design features
\end{itemize}

\subsubsection{Introducing the structure of PDMS}
\label{subsubsec:introducing}
PDMS comprises the following functional parts:

\begin{itemize}
\item modules
\item applications
\end{itemize}
A \textbf{module }is a subdivision of PDMS that you use to carry out 
specific types of operation. This guide covers the following modules:

\begin{itemize}
\item \textbf{Design}, which you use for creating the 3D design model
\end{itemize}
An \textbf{application }is supplementary program that has been tailored to 
provide easy control of operations that are specific to a particular 
discipline. The applications you will use for template design work in this 
guide are:

\begin{itemize}
\item Equipment
\item Design Templates
\end{itemize}
You can switch quickly and easily between different parts of PDMS.

\subsubsection{The strengths of PDMS}
\label{subsubsec:mylabel3}
In VANTAGE PDMS, you have a powerful suite of facilities for the 
modification, design validation and documentation of logically 
interconnected steelwork and/or concrete structures.

The emphasis is on maximising both design consistency and design 
productivity:

\begin{itemize}
\item The design modelling functions incorporate a degree of apparent intelligence that enables them to make sensible decisions about the consequential effects of many of your design choices. This allows you to implement a sequence of related decisions with a minimum of effort.
\item You can incorporate modifications into your design at any stage without fear of invalidating any of your prior work, because data consistency-checking is an integral part of the product. PDMS automatically manages drawing production, material take-off reports, and so on, by reading all design data directly from a common set of databases, to prevent errors from being introduced by transcribing information between different disciplines.
\item The applications let you check all aspects of your design as work progresses. This includes on-line interdisciplinary clash detection, so the chances of errors and inconsistencies reaching the final documented design are reduced to an exceptionally low level.
\item The applications are controlled from a graphical user interface. This means that all design, drawing and reporting operations are initiated by selecting choices from menus, and by entering data into on-screen forms. For ease of use, many common actions are also represented by pictorial icons.
\item On-screen help is available to assist you whenever you need help.
\end{itemize}

\section{Getting Started}
\label{sec:getting}
This chapter explains:

\begin{itemize}
\item how to log in to PDMS
\item how to use the windows, menus and forms that comprise the PDMS graphical user interface
\item on-line help
\end{itemize}

\subsubsection{Logging in}
\label{subsubsec:logging}
This is the first step of the tutorial exercise. If you do not know where 
the PDMS program is stored on your system, you will have to contact your 
system administrator at this point.

\textbf{\textit{Exercise begins:}}

\begin{enumerate}
\item Start PDMS by double-clicking on the PDMS icon.
\end{enumerate}
\begin{figure}[htbp]
\centerline{\includegraphics[width=2.63in,height=2.03in]{Design5.eps}}
\label{fig5}
\end{figure}

The \textbf{VANTAGE PDMS Login }form that appears requires you to specify a 
number of details at the outset of your session.

Ignore any entries currently shown in this form. The next section describes 
how to complete the boxes, and the exercise continues afterwards.

\subsubsection{Using the mouse}
\label{subsubsec:using}
You use the mouse to steer the graphics cursor around the screen and to 
select or pick items by using the mouse buttons. The buttons perform

different tasks depending on the type of window, and where the cursor is 
positioned in it. The appearance of the cursor changes according to the type 
of display item underneath it.

The left-hand mouse button has three functions:

\begin{itemize}
\item On a graphical view, clicking the left-hand button with the cursor over a design element results in that element becoming the current element (that is, the design item on which you want to carry out the next operation).
\item In a sequence of menus, dragging with the left-hand button activates the command represented by the highlighted menu option when the button is released.
\item On a form, the effect varies according to what you select.
\end{itemize}
The middle mouse button is used primarily to manipulate a graphical view; 
the right-hand button is used to access the menu options specific to the 
graphical view window.

\textbf{Note: }the right-hand mouse button menu will henceforth be referred 
to as the

\textbf{shortcut menu}.

\subsubsection{Using forms}
\label{subsubsec:mylabel4}
Forms can include any of the following:

\begin{itemize}
\item text boxes
\item drop-down lists
\item option buttons
\item check boxes
\item scrollable lists
\item action buttons
\end{itemize}
Text boxes and drop-down lists are explained below; the remainder are 
explained later in this chapter.

\begin{enumerate}
\item \textbf{Using text boxes}
\end{enumerate}
Text boxes are the areas where you type in alphanumeric data such as names 
or dimensions. A text box will usually have a label to tell you what to 
enter.

When you first open a form which contains text boxes, the first text-box on 
the form is current and a text editing cursor (a vertical bar) is displayed 
in the box. A text-box often contains a default entry (such as unset) when 
first displayed. Some text boxes accept only text or only numeric data, and 
entries with the wrong type of data are not accepted.

To enter data into a text box:

\begin{itemize}
\item Click in the box to insert the text editing cursor.
\item Type in the required data, editing any existing entry as necessary. (You may need to delete the existing entry first.)
\item When you have finished, confirm the entry by pressing the Enter (or Return) key. Any text box with an unconfirmed setting is highlighted by a yellow background.
\end{itemize}

\paragraph{Using drop-down lists}
\label{para:using}
Drop-down lists let you choose one option from a multiple selection. The 
list will usually have a label to tell you what you are setting and will 
show the current selection.

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.51in,height=0.22in]{Design6.eps}}
\label{fig6}
\end{figure}

They typically have the following appearance:

To change the setting, click on the down arrow or button face to reveal the 
full list of available options, and then pick the required option.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Click on the \textbf{VANTAGE PDMS Login }form to make it active.
\item Give the name of the Project in which you want to work: enter SAM.
	\begin{enumerate}
	\item Give your allocated Username: enter CATS. This username has been set up so that you will have Read/Write access to a Catalogue database, as well as to a Design database. This is necessary so that you can add your new template into a Specification at a later stage of the exercise.
	\end{enumerate}
\item Give your allocated Password: enter CATS.
	\begin{enumerate}
	\item Give the part of the project Multiple Database (MDB) you want to work in: enter CATS.
	\end{enumerate}
\item Give the name of the module you wish to use: select Design.
\end{enumerate}
Make sure that you leave the Read Only box unchecked, so that you can modify 
the database as you work.

You must specify which files to load at startup. You can choose either the 
application default settings (Load from Macro Files) or a customised setup 
saved during an earlier session (Load from Binary Files). Design templates 
are stored in a Design database rather than in a Catalogue database, so 
enter the Design module by loading its appware from Macro Files.

\begin{figure}[htbp]
\centerline{\includegraphics[width=2.63in,height=2.03in]{Design7.eps}}
\label{fig7}
\end{figure}

When you have entered all the necessary details, the form looks like this:

Click on the 

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.57in,height=0.23in]{Design8.eps}}
\label{fig8}
\end{figure}

button.

\subsubsection{The PDMS startup display}
\label{subsubsec:mylabel5}
When PDMS has loaded, your screen looks like this:

As labelled above, the display comprises the following: \textbf{Title Bar}

This shows the current PDMS module, and its sub-application if

applicable.

\textbf{Main Menu Bar}

This is the area you use to make menu selections.

\textbf{Main Tool Bar}

This has a number of icon buttons and drop-down lists that offer shortcuts 
to a selection common PDMS operations and standard settings.

\textbf{Design Explorer}

This shows your current position in the PDMS database hierarchy. To move to 
a different point in the database, you click on the appropriate item in the 
list. By default, the tree will have the current element selected.

\textbf{3D Graphical View}

This is the window in which you display the design model graphically as you 
build it. A pop-up menu (which you access with the right-hand mouse button) 
enables you to control how the model is represented. This window also has 
its own tool bar.

\textbf{Status Bar}

This displays information about the current status of your operations.

You can reposition or minimise these windows at any time using standard 
window management facilities.

\subsubsection{Using menus}
\label{subsubsec:mylabel6}
Menu options in pull-down or pop-up menus can be in any of three formats:

\begin{figure}[htbp]
\centerline{\includegraphics[width=1.46in,height=0.29in]{Design9.eps}}
\label{fig9}
\end{figure}

Standalone options initiate an action immediately.

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.99in,height=0.19in]{Design10.eps}}
\label{fig10}
\end{figure}

Options followed by three dots display a form.

\begin{figure}[htbp]
\centerline{\includegraphics[width=1.47in,height=0.29in]{Design11.eps}}
\label{fig11}
\end{figure}

Options followed by a pointer, display a subsidiary menu that offers a 
further range of options.

Throughout this guide, related selections from menus are abbreviated form 
using the \textbf{\textgreater }symbol as a separator. For example:

Select \textbf{Position\textgreater Move\textgreater Distance }means:

\begin{enumerate}
\item Select \textbf{Position }from the bar menu.
\item Select \textbf{Move }from the resulting pull-down menu
	\begin{enumerate}
	\item Move the cursor to the right and select \textbf{Distance }from the resulting submenu.
	\end{enumerate}
\end{enumerate}

\subsubsection{Using the tool bar}
\label{subsubsec:mylabel7}
The tool bar is displayed immediately below the main menu bar in the 
application window. It contains a number of icon buttons which let you carry 
out common tasks without searching for the options in the menus.

The actions of the buttons are explained in the on-line help. If you pause 
the cursor over a button, a tool-tip pop-up box will remind you of the 
function of the button. To activate a button, you click on it.

\textbf{Note: }The tool bar can be switched off or modified using the 
options on the shortcut menu in the toolbar area.

\subsubsection{Using the Design Explorer}
\label{subsubsec:mylabel8}
The \textbf{Design Explorer }presents a hierarchical view of the PDMS 
databases and makes navigating around the Design Database quick and easy.

The figure below shows a typical example of the information the 
\textbf{Design Explorer }displays:

\begin{figure}[htbp]
\centerline{\includegraphics[width=2.45in,height=4.02in]{Design12.eps}}
\label{fig12}
\end{figure}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.08in,height=0.08in]{Design13.eps}}
\label{fig13}
\end{figure}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.08in,height=0.08in]{Design14.eps}}
\label{fig14}
\end{figure}

To expand or collapse any branch of the tree, click on the

You can reduce the amount of information the tree displays by ticking the 
filter checkbox and selecting one of the predefined core filters from the 
drop-down combo-box list. If you want to narrow the view down even more, you 
can change the settings in the Explorer Settings, which you can access by 
selecting {\small \textbf{Settings\textgreater Explorer }}from the main 
menu.

If you place the mouse-pointer over an element, you will get a ToolTip that 
gives the element's name, type, and description; clicking-the right 
mouse-button while the cursor is over an element will bring up a context 
menu from which you can choose to perform various actions. What actions are 
available depend on which DB and module you are using.

You can drag-and-drop elements within the \textbf{Design Explorer }to copy 
them, or you can drag-and-drop from the Explorer to add elements to the 3D 
view and My Data.

The Current Element is highlighted in the tree view and the Current Element 
will change to follow selections made elsewhere, even if the Explorer is not 
the active window. If you set the {\small \textbf{Expand to CE }}check box 
in the Explorer Settings, the tree will automatically expand to show the 
Current Element if it is not currently in view.

\begin{figure}[htbp]
\centerline{\includegraphics[width=2.18in,height=0.47in]{Design15.eps}}
\label{fig15}
\end{figure}

The Current Element is also the displayed in the History List, which you 
will find by default on the main menu bar. However, you can undock the 
History List and have it as a free-floating window. The figure below shows 
the History List as a free-floating window.

You can make another element the Current Element using the History List by:

\begin{itemize}
\item typing the element's name into the combo box;
\item selecting a previously typed in element from the combo-box's pull- down list. Note that if you dock the window vertically, it will not display the combo-box;
\item navigating through the history one element at a time using the backwards and forwards buttons;
\item selecting elements from anywhere in the History List using the drop down lists on the backwards and forwards buttons;
\end{itemize}

\subsubsection{Using the status bar}
\label{subsubsec:mylabel9}
The status bar displays messages telling you what actions the application is 
carrying out. You should look at it frequently, especially if the system 
appears to be waiting for you to do something, since it will always prompt 
you for any input or action which is required to carry out the next step of 
your current activity.

If the prompt lets you repeat a task an unspecified number of times, such as 
picking a selection of items using the cursor, you must press the Escape key 
when you have finished indicating that you are ready to move to the next 
operation.

\subsubsection{More on using forms}
\label{subsubsec:mylabel10}
Forms are used both to display information and to let you enter new data. 
Forms typically comprise an arrangement of buttons of various types, 
text-boxes, and scrollable lists. Input to a form is usually via a 
combination of mouse and keyboard.

While you have access to a form, you can change a setting, return to the 
initial values, accept and act on the current data, or cancel the form 
without applying any changes, according to the nature of the form.

You were introduced to text boxes and drop-down lists in Section 3.3; this 
section describes the remaining boxes, buttons and lists:

\begin{itemize}
\item option buttons
\item check boxes
\item scrollable lists
\item action buttons
\end{itemize}

\paragraph{Using option buttons}
\label{para:mylabel2}
Option buttons are used to select one, and only one, from a group of 
options. The selection is mutually exclusive, so that selecting one option 
deselects others in that group automatically.

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.10in,height=0.10in]{Design16.eps}}
\label{fig16}
\end{figure}

They typically have the following appearance: Option selected

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.10in,height=0.10in]{Design17.eps}}
\label{fig17}
\end{figure}

Option not selected

To change the selected option button in a group, click the required button.

\paragraph{Using check boxes}
\label{para:mylabel3}
Check boxes are used to switch an option between two states, typically set 
and unset. Unlike option buttons, they do not interact, so that you can set 
any combination of check boxes at the same time.

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.11in,height=0.11in]{Design18.eps}}
\label{fig18}
\end{figure}

They typically have the following appearance: Set

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.11in,height=0.11in]{Design19.eps}}
\label{fig19}
\end{figure}

Unset

\paragraph{Using scrollable lists}
\label{para:mylabel4}
A scrollable list is displayed as a vertical list of options within the 
form, with vertical and horizontal scroll bars along its sides. To select an 
option, click on the line you want. The selected line is highlighted.

Some scrollable lists let you make only a single selection, so that 
selecting any option deselects all others automatically. Other lists let you 
make multiple selections, with all selected options highlighted 
simultaneously. You can deselect a highlighted option in a multiple- choice 
list; by clicking on it again (repeated clicks toggle a selection).

\paragraph{Using action buttons}
\label{para:mylabel5}
Most forms include one or more action buttons. You use these to tell PDMS 
what to do with the details you have entered in the form.

The common action buttons are:

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.50in,height=0.24in]{Design20.eps}}
\label{fig20}
\end{figure}

Tells PDMS to accept the current form settings, and closes the form 

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.68in,height=0.23in]{Design21.eps}}
\label{fig21}
\end{figure}

Cancels any changes you have made to the form, and closes the form

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.59in,height=0.24in]{Design22.eps}}
\label{fig22}
\end{figure}

Tells PDMS to accept the current form settings, and leaves the form 
displayed for further use

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.59in,height=0.24in]{Design23.eps}}
\label{fig23}
\end{figure}

Cancels any changes you have made to the form, and leaves the form displayed 
for further use

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.78in,height=0.24in]{Design24.eps}}
\label{fig24}
\end{figure}

Closes the form, keeping the current settings

Some forms contain more specific types of control button which carry out 
particular command options. The action is indicated by the name of the 
button (such Add or Remove).

\subsubsection{Responding to alert forms}
\label{subsubsec:responding}
Alert forms are used to display information such as error messages, prompts 
and requests for confirmation of changes. You should respond by carrying out 
the task prompted for, or by clicking on the control buttons on the form 
(usually an OK or Cancel button).

\subsubsection{Using on-line Help}
\label{subsubsec:mylabel11}
Most bar menus end with a \textbf{Help }option. Where available, on-line 
help gives detailed instructions on how to use the forms and menus from 
which you control each application.

Choosing one of the \textbf{Help }options will bring up the \textbf{Help 
}window. The picture below shows a typical example of what you will see:

\begin{figure}[htbp]
\centerline{\includegraphics[width=4.84in,height=3.24in]{Design25.eps}}
\label{fig25}
\end{figure}

The pane on the right shows by default a clickable image of the main PDMS 
Design window. If you click on an area of the image, the image will be 
replaced by text that describes the part of the image you clicked on.

The left pane contains a set of tabs that allow you to use \textbf{Help }in 
different ways. Choosing one of the options described below activates the 
relevant tab for you so it is at the front when the \textbf{Help }window 
comes up.

The \textbf{Help }option gives you the following choices from its submenu:

\textbf{Help\textgreater Contents}

This displays the \textbf{Help }window so that you can find the required 
topic from the hierarchical contents list.

\textbf{Help\textgreater Index}

This displays the \textbf{Help }window with the \textbf{Index }tab selected, 
so that you can browse for the topic you want to read about from the 
alphabetically- arranged list. You can locate topics quickly by typing in 
the first few letters of their title.

\textbf{Help\textgreater Search}

This displays the \textbf{Help }window with the \textbf{Search }tab at the 
front so that you can find all topics containing the keywords you specify.

\textbf{Help\textgreater About}

This displays information about the current operating system on your 
computer and about the versions of PDMS and its applications to which you 
have access.

Pressing the F1 key at any time will display the help topic for the 
currently active window.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Experiment with each of the Help options until you understand the search and navigation facilities for finding specific items of information. Use the F1 key to read the help texts for any forms that you can currently see on your screen.
\item When you are ready to continue, close any forms which you have been experimenting with as follows:
	\begin{itemize}
	\item If a form has a Dismiss button, click this button.
		\begin{itemize}
		\item If a form has its own menu bar, select \textbf{Control\textgreater Close }from that menu.
		\item Close any Help windows which are displayed by double- clicking in the control box in the top left-hand corner of each window. Alternatively, select \textbf{File\textgreater Exit }from the Help window menu bar.
		\end{itemize}
	\end{itemize}
\end{enumerate}
Do not close the \textbf{Design Explorer }or the \textbf{3D View }windows, 
because you will use these in the next parts of the exercise.

You are advised to make full use of the on-line help facilities whenever you 
want clarification of any operations during the later steps of the exercise.

\section{Creating a Simple Template}
\label{sec:creating}
\subsubsection{The basic concepts}
\label{subsubsec:mylabel12}
A design template is a set of design primitives, panels and nozzles that may 
be grouped together and then referenced from within another part of the 
design database as though it were a single item. In many ways, a design 
template behaves in a similar way to a catalogue component, except that the 
template items are stored in a special area of the Design DB, rather than in 
a separate Catalogue DB, and they can use the more powerful sets of 
primitives and parameterisation facilities available from within Design. 
Unlike a catalogue component, a design template can be split down into its 
constituent parts for selective reporting, dimensioning, MTO, etc.

A design template is used in a design by creating an instance of the 
template in the Design DB. When a design template is instanced, the template 
contents are copied into the design hierarchy; they may then be modified 
locally as required.

A design template may be referenced from Equipment or Sub- Equipment, a 
Panel Fitting, a Section Fitting or a Primary Joint.

\subsubsection{Creating an initial template design}
\label{subsubsec:creating}
To demonstrate the main principles of design template creation, we will 
create a template representing a simple rectangular kickplate configuration 
which can be added round a penetration hole in a panel. The template will 
consist of three box primitives: a positive box representing the outer 
surfaces of the kickplate assembly; a negative box which removes most of the 
material from the positive box, leaving only a wall thickness representing 
the individual kickplates; and a second negative box which will penetrate 
any panel on which the template is positioned by a designer. The 
configuration will be as follows:

\begin{flushright}
{\small Overall Length
\end{flushright}

Wall Thickness

Overall Height

Panel Thickness

Overall

Width {\small \underline { }

Positive Box

First Negative Box Second Negative Box

\begin{figure}[htbp]
\centerline{\includegraphics[width=3.49in,height=3.22in]{Design26.eps}}
\label{fig26}
\end{figure}

When the design template is used in a design, its dimensions will be 
specified by reference to a set of predefined properties. It is important, 
therefore, that you have thought carefully about which dimensions are to be 
parameterised \textbf{before }you create the design template (just as you 
would normally sketch out a new catalogue component before starting to build 
it up in Paragon).

In our present example, we will define five properties representing overall 
length, overall width, overall height, wall thickness for the kickplates, 
and the panel thickness for the penetration hole below the kickplate 
assembly, as shown on the preceding diagram.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item The Design Templates application makes the assumption that a new template will be based on an existing set of design elements (or on a predefined design template), so we will first use the Equipment application to create the positive box and the first negative box. (We will see later why the second negative box, representing the panel penetration hole, cannot be created at this stage.)
\end{enumerate}
Select \textbf{Design\textgreater Equipment }to enter the Equipment 
application.

\begin{enumerate}
\item From the \textbf{Equipment Application }menu, select \textbf{Create\textgreater Site }and name the new site /TMPLSITE.
\item Below this site create a new Zone named /TMPLZONE and below this an Equipment named /Kickplate. Leave the equipment Position at the default of ,,.
\end{enumerate}

It is this equipment element which will own the BOX, which will in turn own 
the first NBOX, which will be used as the basis for the design template.

\begin{enumerate}
\item Select \textbf{Create\textgreater Primitives }and use the \textbf{Create Primitives }form to create a Solid Box.
\end{enumerate}
On the \textbf{Create Box }form, set the following data: Enter the Name as 
/Kickplate-Outer.

Set Y-length to 1000, X-length to 500 and Z-length to 250. These dimensions 
give a starting point for the design, so that you can see it in the 
graphical view: the template derived from this box will redefine the 
dimensions in terms of parameterised rules.

Leave the Position at the default of 0,0,0 and the Orientation at the 
default of Y-Axis North and Z-Axis Up.

\begin{enumerate}
\item Using the same procedure, create a Negative Box with Name
\end{enumerate}
/Kickplate-Inner, Y-length 950, X-length 450, Z-length 250, default Position 
and Orientation.

Note that the X and Y dimensions of the NBox are smaller than those of its 
owning Box by an amount corresponding to twice the wall thickness, but the Z 
dimensions of both boxes are the same.

\begin{enumerate}
\item Use the following settings for viewing the results:
	\begin{itemize}
	\item Click the Walk to Draw List button ( 
	\item \begin{figure}[htbp]
\centerline{\includegraphics[width=0.26in,height=0.26in]{Design27.eps}}
\label{fig27}
\end{figure}

	\item ) on the 3D View Tool Bar (note that the Kickplate has already been added to the Draw List. You can view the \textbf{Draw List }by choosing the menu option \textbf{Display\textgreater Draw List }from the main menu bar.)
		\begin{itemize}
		\item Set the view direction to Iso 2 by selecting \textbf{Isometric\textgreater Iso 2}
		\end{itemize}
	\end{itemize}
\end{enumerate}
from the 3D View shortcut menu.

\begin{itemize}
\item Set the \textbf{Representation }(\textbf{Settings\textgreater Graphics\textgreater Representation }from the main menu) to Holes Drawn Off (not ticked).
\item If you currently have a colour-shaded view, switch to a wireline view (\textbf{View\textgreater Settings\textgreater Shaded }from the \textbf{3D View }menu, or press F8).
\end{itemize}
\begin{figure}[htbp]
\centerline{\includegraphics[width=4.17in,height=3.20in]{Design28.eps}}
\label{fig28}
\end{figure}

The result should look like this:

Try some other view settings if you wish.

The \textbf{Design Explorer }should now show the following elements:

Save your design changes (\textbf{Design\textgreater Save Work}).

\begin{figure}[htbp]
\centerline{\includegraphics[width=5.81in,height=2.25in]{Design29.eps}}
\label{fig29}
\end{figure}

That ends the creation of the basic design, which will be copied to form the 
design template.

In the next part of the exercise we will create a suitable hierarchy under 
which to store the template and will then create the template itself.

\subsubsection{The Design Template hierarchy}
\label{subsubsec:mylabel13}
Design Template (TMPL) elements are stored in a separate part of the Design 
DB under an administrative Template World (TPWL), which is itself divided 
into administrative Template Areas (TMAR).

When you are working in the Design Templates application, you need to be 
able to navigate concurrently in two different parts of the Design database: 
the area which holds the design data on which the templates are to be based, 
and the area which holds the templates themselves.

Template creation involves, among other steps, copying data from the former 
area to the latter.

Navigation in the design area is carried out via the \textbf{Design Explorer 
}in the usual way, while navigation in the template area is carried out via 
a separate \textbf{Template Browser }form.

The hierarchy with which we will be concerned in the next part of the 
exercise is as follows:

\textbf{World (/*)}

\begin{center}
{\small \textbf{SITE ZONE EQUI BOX NBOX}
\end{center}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.15in,height=0.08in]{Design30.eps}}
\label{fig30}
\end{figure}

\begin{flushright}
{\small \textit{Copy}
\end{flushright}

\begin{center}
{\small \textbf{TPWL TMAR TMPL BOX NBOX}
\end{center}

\begin{figure}[htbp]
\centerline{\includegraphics[width=5.44in,height=0.03in]{Design31.eps}}
\label{fig31}
\end{figure}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.15in,height=0.08in]{Design32.eps}}
\label{fig32}
\end{figure}

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item In order to create the design template elements, we must first change from the Equipment application to the Design Templates application. To do so, select \textbf{Design\textgreater Design Templates }from the \textbf{Equipment Application }menu.
\end{enumerate}
You will see the \textbf{Design Templates Application }menu bar plus the 
\textbf{Template Browser }form. The latter lists all of the design templates 
which have been supplied as part of the sample project. During the current 
exercise, we will add the templates which we will create under a new 
top-level Template World.

\begin{enumerate}
\item From the \textbf{Design Templates Application }menu, select \textbf{Create\textgreater Template World}. Set the Name to /TESTTPWL and set the Description to Template World for exercises.
\end{enumerate}
The new template world will be created immediately below World level at the 
top of the current design hierarchy, regardless of the

level of your current design element. Notice that \textbf{Template Browser 
}shows the element's description, whereas the \textbf{Design Explorer }shows 
its name (you will not see the latter yet unless you navigate to it).

\begin{enumerate}
\item Select \textbf{Create\textgreater Template Area }and name the template area
\end{enumerate}
/TESTTMAR. Enter its description as Template Area for exercises.

\subsubsection{Copying Design geometry into a template}
\label{subsubsec:copying}
We are now going to create a design template whose geometry will be based on 
a copy of the equipment element which we have already created, namely a 
positive box with a negative box inside it. Later, we will modify this 
design within the template by adding another negative box; this will not 
affect the original equipment in any way.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item When you create a design template (TMPL), it will copy its geometry from the current design element, so first navigate to the Equipment (indicated by the 
\item \begin{figure}[htbp]
\centerline{\includegraphics[width=0.17in,height=0.18in]{Design33.eps}}
\label{fig33}
\end{figure}

\item symbol) Kickplate in the \textbf{Design Explorer }and then select \textbf{Create\textgreater Template }from the \textbf{Design Templates Application }menu.
\end{enumerate}
Notice how the Box and its subsidiary NBox are highlighted (in red, by 
default) in the 3D View. The prompt asks you to confirm that you want to use 
the highlighted item as the basis of the new template.

Click Yes.

You will now see a \textbf{Create Template }form and a \textbf{Positioning 
Control}

form.

The Original Item data at the top of the \textbf{Create Template }form shows 
the name of the current design item (in this case, the equipment 
/Kickplate).

Set the following Template Information:

Name Kickplate-1

Purpose Leave as Unset

Description Protected floor penetration Function Rectangular

Generic Type PENH (Penetration Hole)

(This data is optional, but is helpful when the template is to be selected 
for use in a design. In some cases the generic type will be

deduced automatically from the original design item, but this is not 
possible in our current example.) Do \textbf{not }OK the form yet.

We will set the position of the template's Origin by picking it in the 3D 
View. To do this, you need to understand the concept of \textbf{event- 
driven graphics}. This is explained next.

\subsubsection{Event-driven graphics mode}
\label{subsubsec:event}
Before we begin the next part of the exercise, it is necessary to understand 
how to use the cursor to pick points in the graphical view. Whenever the 
status line immediately below the menu bar of the 3D View shows a prompt 
other than 'Navigate', as now, the graphical view is switched automatically 
into event-driven graphics mode. This means that when you pick a point in 
the displayed graphics, your action is interpreted in whatever way is 
appropriate to your current design operation (i.e. the current event) rather 
than simply as a request to navigate to a new current element. In this 
example, picking in event- driven graphics mode will be used to specify a 
position.

The position derived from your cursor pick can be the exact point at which 
you have placed the cursor or, more commonly, it can be a position which is 
related to the picked point in a specified way. The main concept involved in 
structural applications is that of the snap function, which automatically 
chooses the nearest Start, End or (optionally) Secondary Node position to 
the picked point, so that you do not need to be very accurate when 
positioning the cursor.

The full range of options available for identifying positions is extensive. 
We will use it in the exercise simply to pick a p-point which is already at 
the required position.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item The current position of the design template origin, relative to the template geometry, is at the centre of the box, as shown by the Template Origin label ( 
\item \begin{figure}[htbp]
\centerline{\includegraphics[width=0.31in,height=0.30in]{Design34.eps}}
\label{fig34}
\end{figure}

\item ) which you will now see in the 3D View (rotate the view if necessary to see the position properly; the label may be difficult to read because the equipment origin is labelled at the same location).
\end{enumerate}
In order to provide a more convenient datum point for positioning the 
kickplate assembly relative to the surface of a panel, we will redefine the 
origin as being at the centre of the lower face of the box.

To do so, we will enter the Origin data on the \textbf{Create Template }form 
by picking an existing p-point at the required position. We are already in 
event-driven graphics mode (as shown by the 3D View status line which says 
`Defining a Template Snap').

On the \textbf{Positioning Control }form, set the Pick Type (left-hand box) 
to Ppoint and the Pick Method to Snap. This constrains the system to allow 
you to pick only p-points. Move the cursor into the 3D View, hold down the 
left-hand mouse button, and move the cursor over the box (click on any edge 
of the box if you are using a wireline view).

The p-points appear as dots in the view and the cursor shape

changes to when it is over a p-point. The name of the selected point is 
shown in the status line. Release the mouse button when the cursor is over 
P6 of BOX /Kickplate-Outer.

Notice how the Origin coordinates are now shown in the \textbf{Create 
Template }form as East 0, North 0, Down 125 and how the labelling has 
changed in the 3D View.

\begin{enumerate}
\item \begin{figure}[htbp]
\centerline{\includegraphics[width=3.01in,height=1.78in]{Design35.eps}}
\label{fig35}
\end{figure}

\item Leave the Create List buttons (Properties and Points) both unselected and OK the \textbf{Create Template }form. The \textbf{Template Browser }should now show the following elements:
\end{enumerate}
The \textbf{3D View }will now show both the original equipment and the 
template derived from it (offset by the amount by which the origin has been 
repositioned). From the \textbf{Template Browser }menu, select 
\textbf{Display\textgreater Selected Template}. The draw list will be 
emptied and will then be reset, together with the global limits, to show 
just the current template. You may find this facility useful at future 
stages in the exercise to reset a confusing display.

\subsubsection{Modifying the template geometry}
\label{subsubsec:modifying}
In order that the template can penetrate a panel on which it is positioned 
when instanced in a design, it must include a second negative box owned by 
the TMPL. A negative box owned by the positive box will not have the 
required effect, which is why we did not create it in the original 
equipment.

\begin{enumerate}
\item The new NBOX must be created below the TMPL. To achieve this, you must first navigate to the TMPL in the \textbf{Design Explorer}. The easiest way to do this is to check the \textbf{Template Browser}'s Navigate on selection checkbox and then reselect the TMPL in the browser list. This element will become current in the \textbf{Design Explorer }automatically.
\end{enumerate}
Alternatively, if you have the \textbf{Draw List }window open, you can 
double-click on the TMPL entry, or use the right-mouse button and choose the 
\textbf{Navigate To }option from the popup menu that appears.

From the \textbf{Design Templates Application }menu, select 
\textbf{Create\textgreater Primitives}. Create a Negative Box.

Set the Name to /Panel-pene.

Set the Y-length to 950, X-length to 450 and Z-length to 100. Leave the 
Orientation at its default setting.

We want to position the new NBOX so that its upper face is coplanar with the 
lower faces of the existing BOX and NBOX. To achieve this, we must move it 
\textbf{down }by half its Z-length, so set the Position to North 0, East 0, 
Down 50.

We have now completed the required design template geometry, as illustrated 
in the diagram near the start of Section 4.2. In the next chapter we will 
see how to allocate properties and rules to the template, so that its 
geometry may be parameterised and adjusted to suit specific use in design 
contexts.

\section{Setting Template Properties and Rules}
\label{sec:setting}
Although we set the dimensions and relative positions of the Box and NBoxes 
to specific values to give a meaningful representation in the displayed 
view, these settings are largely irrelevant for the template. When the 
template is used in a design application, the dimensions and positions of 
the primitives will be reset by reference to a set of parameterised rules 
which adjust the geometry to suit the local circumstances. These rules are 
defined in terms of the template's properties, which we will now define.

\subsubsection{Defining the template properties}
\label{subsubsec:defining}
Each property represents an `attribute' of the template which is to be 
adjusted by reference to the parameterised rules when used in a design 
instance. In the current example, we need to define five properties 
corresponding to the following dimensions:

\begin{figure}[htbp]
\centerline{\includegraphics[width=3.49in,height=2.93in]{Design36.eps}}
\label{fig36}
\end{figure}

\begin{center}
WTHK
\end{center}

LENG

\begin{center}
HEIG
\end{center}

PTHK

\begin{flushright}
{\small WIDT
\end{flushright}

LENG $=$ Overall length WIDT $=$ Overall width HEIG $=$ Overall height WTHK 
$=$ Wall thickness PTHK $=$ Panel thickness

The template properties are stored in Design Data (DDAT) elements, owned by 
a Design Dataset (DDSE), which is itself owned by the TMPL element. When we 
created the template, we could have created an empty Design Dataset by 
setting the Create Lists: Properties button to On in Step 24. Instead, we 
will create one now and then define its Design Data members.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Check that the selected element in the \textbf{Template Browser }is the TMPL and then select \textbf{Create\textgreater Property Definitions}. A DDSE element will be created automatically (check the \textbf{Design Explorer}) and you will see a \textbf{Define Template Properties }form which lets you set up the required list of properties.
\end{enumerate}
The upper part of the form lets you specify the details for a single 
property, while the lower part displays a list of all of the properties 
which are currently defined. The list is empty at this stage.

Define the first property as follows:

\begin{itemize}
\item Enter the Description as Overall length and the Key as LENG.
	\begin{itemize}
	\item The Definition option specifies how the value of the property will be derived when the template is used in a design. The choices are:
	\end{itemize}
\end{itemize}
Design Parameter Value taken from design data entered

when template is instanced

Attribute Value taken from named attribute

(Short Key is set to attribute name)

Expression Value is result of evaluating expression

(as typed into text-box immediately below the option list)

Plotfile Name of plotfile to be displayed

Specification Ref Allows SpecRef (e.g. Profile) to be set

when template is instanced

Sub Element Ref Allows pointer to subsidiary element

(e.g. Sub-Equipment) to be set when template is instanced

We will set the first four dimensional properties as Design Parameters, so 
select this option for the Definition field. In the N$^{\mathbf{o}}$\textbf{ 
}text-box, enter 1 for the first design parameter.

\begin{itemize}
\item Set the Data Type option to Distance.
	\begin{itemize}
	\item The Default text-box lets you specify the value which will be used if the correct value cannot be derived at any intermediate stage of the design process. Enter a default length of 1500.
	\item The Range text-boxes let you specify acceptable minimum (From) and maximum (To) values for the property value which can be entered in the design. Leave these unset. (Ignore the greyed-out Display button for now.)
	\end{itemize}
\end{itemize}
The settings should now look like this:

\begin{figure}[htbp]
\centerline{\includegraphics[width=4.19in,height=3.03in]{Design37.eps}}
\label{fig37}
\end{figure}

Click the Include button to create the currently defined property in the 
list (there is no separate Apply button on this form).

\begin{longtable}[htbp]
{|p{85pt}|l|l|l|}
\hline
\endhead
\hline
\endfoot
\textbf{Description}& 
\textbf{Key}& 
\textbf{DesPar No}& 
\textbf{Default Distance} \\
\hline
Overall width& 
WIDT& 
{\small 2& 
750 \\
\hline
Kickplate height& 
HEIG& 
{\small 3& 
300 \\
\hline
Wall thickness& 
WTHK& 
{\small 4& 
50
\label{tab2}
\end{longtable}

\begin{enumerate}
\item Repeat the process to add the following property definitions to the list:
\end{enumerate}

(You will notice that the application adds parentheses round the default 
value automatically. It is optional whether or not you enter these when you 
type in the default value.)

\begin{enumerate}
\item The fifth property, namely the thickness of the panel which the second NBOX is to penetrate, will be derived from the actual panel thickness as defined in the design. To achieve this, we will define the property as an expression which represents this thickness.
\end{enumerate}
Enter the Description as Panel thickness and the Key as

PTHK.

Set the Definition option to Expression and type the following expression 
into the expr text-box:

HEIG of PLOO 1 of PANEL

(since the panel thickness is represented by the Height attribute of the 
Panel Loop element owned by the Panel).

Set the Default Distance to 100. Leave the Range limits unset.

Notice that the Display button is now selected. Its setting determines 
whether or not the value of this property will be shown on the data-entry 
form when the template is instanced in a design. Leave the button selected. 
(The property value will be shown for reference only, since it is derived 
automatically via the expression and cannot be set explicitly by the 
designer.)

\begin{figure}[htbp]
\centerline{\includegraphics[width=3.65in,height=1.81in]{Design38.eps}}
\label{fig38}
\end{figure}

The final Currently Defined Properties list should look like this:

Click the 

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.22in,height=0.22in]{Design39.eps}}
\label{fig39}
\end{figure}

button to remove the form.

\subsubsection{Defining a template rule}
\label{subsubsec:mylabel14}
So far, we have simply defined the properties of the template which must 
have their values set when the template is instanced in a design. We must 
now define the rules which define how the geometry of the template instance 
is to be parameterised in terms of those properties.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Check that you are still at the TMPL in the \textbf{Template Browser }and then select \textbf{Modify\textgreater Parameterisation}. You will see a \textbf{Parameterisation of Members }form listing the primitives which make up the current template.
\end{enumerate}
In the Template Members list, select the BOX. Notice how the Defined Rules 
list automatically shows those attributes of the selected element for which 
you can set rules.

In the Defined Rules list, select X length. You will see a \textbf{Rule 
Definition (X length) }form ready to accept data relevant to the selected 
type of attribute. In the X length text-box, enter the following expression:

CDPR LENG

This means: `Set the X-length to the value of that property of the current 
template whose key is LENG' (as defined in Step 26). This expression will be 
explained more fully in the next section.

To see the effect of this rule, click the Preview button and study the 
\textbf{3D View}. Because no real design data has yet been created, the X 
length of the box has been set by the rule using the default value of the 
LENG property (which we specified as 1500).

Click OK to accept the rule. Notice how it is now shown in the

Defined Rules list on the \textbf{Parameterisation of Members }form.

\subsubsection{How template data is accessed in the Design hierarchy}
\label{subsubsec:mylabel15}
In order to understand how template data is accessed via specific cross- 
references in the Design database, we will consider what happens when the 
kickplate template which we are creating is used in the design of a panel.

To use the template, the structural designer will create a Panel Fitting 
(PFIT) element at the required position on the Panel and will then set the 
PFIT's Specification to point to the Design Template.

\textbf{Note: }To make the template accessible to the designer, it must have 
been included in a Specification in a Steelwork Catalogue database. We will 
see how to do this later in the exercise. The designer then selects from the 
specification in the usual way; there is no distinction between a catalogue 
component and a design template as far as the designer is concerned.

When the Specification Reference of the panel fitting is set to the design 
template, the TMPL is copied into the PFIT's members list (that is, an 
instance of the template is created automatically). The resulting Design 
hierarchy includes the following:

\textbf{PANEL}

\begin{flushright}
{\small \textbf{PLOO PAVEs}
\end{flushright}

{\small \textbf{PFIT}

\textbf{TMPL }(copy)

\textbf{Design Parameters}

\begin{flushright}
{\small \textbf{DDSE}
\end{flushright}

\begin{flushright}
{\small \textbf{BOX}
\end{flushright}

\textbf{NBOX}

{\small Properties

\begin{center}
{\small \textbf{DDAT DDAT}
\end{center}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.01in,height=0.09in]{Design40.eps}}
\label{fig40}
\end{figure}

\begin{center}
{\small \textbf{DDAT}
\end{center}

\begin{center}
{\scriptsize \textbf{...}
\end{center}

\textbf{NBOX}

Consider the following:

\begin{itemize}
\item From PFIT level, you can query the properties data held in the DDATs of its TMPL by reference to a pseudo-attribute PROP whose setting is identified by the corresponding short key. For example, to query the X-length (which has the short key LENG), the command is Q PROP LENG. The system navigates down automatically via the TMPL and its DDSE to find the required property. \textbf{Query\textgreater Template Properties }lists all such properties.
\item From BOX level, you can query the properties data held in the DDATs of its parent TMPL by reference to a pseudo-attribute CDPR (\textbf{C}urrent template's \textbf{D}esign \textbf{PR}operty). The system navigates up to the owning TMPL and then down via that template's DDSE. It is this setting which we used in the expression for the X-length rule in Step 29.
\end{itemize}

\subsubsection{Defining more template rules}
\label{subsubsec:mylabel16}
We will now continue by defining the remaining rules for the Box.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Select Y length in the Defined Rules list and define its rule as
\end{enumerate}
CDPR WIDT.

\begin{enumerate}
\item Select Z length. To demonstrate how you can copy an existing rule for editing, rather than retyping the whole rule, click the Pick button on the \textbf{Rule Definition (Z length) }form. You will see a \textbf{Rules }form listing all currently defined rules (there are only two so far). Pick either rule to copy it into the \textbf{Rule Definition (Z length) }form. Edit the rule to say CDPR HEIG.
\end{enumerate}

Note that the \textbf{Rules }form has no 'action' buttons. It is dismissed 
automatically when you OK its parent \textbf{Rule Definition }form.

(Although this example is trivial, you can imagine the convenience of using 
this technique when you are defining very complex rules.)

\begin{enumerate}
\item Leave the Orientation rule unset (i.e. None). This means that the orientation must always be set by the designer to suit the local requirements when the template is instanced.
\item Select Position. Notice how the \textbf{Rule Definition (Position) }form has data entry gadgets relevant to the type of property being set.
\end{enumerate}
Remember that the box origin is at its centre. We want to set the position 
such that the kickplate assembly is positioned with the bottom face of the 
box coplanar with the surface of the panel. To do this, we must move the box 
up by half its height with respect to the PFIT.

Click on the Focus button closest to the Up/Down pull-down list. Click Pick 
and copy the Z length rule. Edit this to say CDPR HEIG

/ 2 (note the spaces before and after the / operator).

Leave the East and North coordinates undefined (they will always be zero 
relative to the PFIT position) and OK the rule definition.

\begin{figure}[htbp]
\centerline{\includegraphics[width=3.87in,height=1.36in]{Design41.eps}}
\label{fig41}
\end{figure}

The Defined Rules list for the Box should now appear as follows:

\begin{enumerate}
\item In the Template Members list on the \textbf{Parameterisation of Members }form, select the NBOX owned by the BOX (indented relative to the BOX in the list).
\end{enumerate}
In the Defined Rules list, select X length. We will start by copying the 
rule for the X length of the Box, as set in Step 31. Click the Pick button; 
you will be prompted by the event-driven graphics status line to `Pick item 
rule is to be selected from'. Pick the box in the \textbf{3D View }to 
display its list of rules. Select the X length rule (namely CDPR LENG) to 
copy it into the \textbf{Rule Definition }form. (This demonstrates how you 
can copy rules between different components of a design template; again 
useful when dealing with very complex rules.)

The required X length of the NBOX (/Kickplate-Inner) is equal to the X 
length of the Box (/Kickplate-Outer) minus twice the wall thickness (see 
diagram in Section 5.1). To achieve this, edit the X length rule to

CDPR LENG - 2 * CDPR WTHK

Preview and then OK the rule.

\begin{enumerate}
\item Using the copying technique, set the Y length rule to
\end{enumerate}
CDPR WIDT - 2 * CDPR WTHK

Set the rule for the Z length of the NBOX so that it has the same height as 
its owning Box.

Because the NBOX is positioned with respect to its owning Box, its elevation 
will already be correct: you do \textbf{not }have to move this one by half 
its height. Therefore, leave both the Position and Orientation rules unset.

\begin{figure}[htbp]
\centerline{\includegraphics[width=3.86in,height=1.34in]{Design42.eps}}
\label{fig42}
\end{figure}

The Defined Rules list for the NBOX should now appear as:

The Box and NBOX together represent a rectangular kickplate assembly 
positioned on the surface of the panel. In the next step we will set the 
rules for the second NBOX (/Panel-pene), owned by the TMPL, which is to 
penetrate the panel below the kickplate assembly.

\begin{enumerate}
\item Set the rules for the X length and Y length of the second Nbox to be the same as those for the first NBox.
\end{enumerate}
We want to set the Z length of the second NBox to the thickness of the panel 
which it is to penetrate. To achieve this, set the Z length rule to CDPR 
PTHK (remembering that PTHK is itself derived from the panel thickness, as 
specified by the property definition in Step 28).

The position of the second NBox is to be such that its upper face is 
coplanar with the lower face of the Box, which means that it must be moved 
\textbf{down }by half its height. Set an appropriate rule to do this.

The Defined Rules list for the second NBox should now appear as:

\begin{figure}[htbp]
\centerline{\includegraphics[width=4.58in,height=1.76in]{Design43.eps}}
\label{fig43}
\end{figure}

That concludes the definition of the kickplate design template. Check the 
\textbf{3D View }to ensure that the geometry looks correct. If not, correct 
the errors before finally saving the design.

In the next chapter we will add the template into a catalogue database 
specification for panel fittings, so that it can be referenced for inclusion 
in a structural design model.

\section{Adding a Template into a Catalogue Specification}
\label{sec:adding}
In order to make a design template available for selection by a user, for 
incorporation (as an instance) into a design model, the template must be 
referenced from a Catalogue Specification. This chapter summarises how to 
achieve this.

\subsubsection{How a template is accessed via a Specification}
When a designer selects a catalogue component via a Specification (SPEC), 
the specification Selectors (SELEs) are searched in turn, using a 
question/answer sequence, until a Specification Component (SPCO) is found 
which matches all of the specified design criteria. The catalogue component 
selected is the one to which the Catalogue Reference attribute (CATREF) of 
that SPCO points.

Following exactly the same principle, a SPCO can refer instead to a design 
template by setting its Template Reference attribute (TMPREF) to point to a 
TMPL.

The only differences are:

\begin{itemize}
\item The catalogue component is stored in the Catalogue database, whereas the design template is stored in the Design database.
\item When a catalogue component is selected, only the CATREF setting (or, more strictly, the SPRE setting) is stored in the design data. When a design template is selected, an instance of the design template is copied by the application into the design data, adding new elements into the design members list.
\end{itemize}
This can be illustrated as follows, using the selection of our kickplate 
template for addition to a panel (in the form of a panel fitting) as an 
example:

\begin{center}
\textbf{\textit{In Design DB:}}
\end{center}

\begin{center}
{\scriptsize \textbf{... ...}
\end{center}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.01in,height=0.09in]{Design44.eps}}
\label{fig44}
\end{figure}

\begin{flushright}
{\small \textbf{PLOO PAVEs}
\end{flushright}

{\small \textbf{PANE}

\begin{flushright}
{\small \textbf{PFIT}
\end{flushright}

\begin{flushright}
{\small \textit{(SPREF)}
\end{flushright}

{\small \textbf{TPWL TMAR TMPL}

\textbf{NBOX DDSE}

\begin{center}
{\scriptsize \textbf{...}
\end{center}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.01in,height=0.09in]{Design45.eps}}
\label{fig45}
\end{figure}

\begin{center}
\textbf{\textit{In Catalogue DB:}}
\end{center}

\begin{center}
\textbf{SPEC}
\end{center}

\textit{(TMPREF)}

\textbf{SELE}

\textbf{SPCOS PCO SPCO}

\textbf{SELE}

The SPREF of the PFIT leads to a SPCO which has its TMPREF pointing to the 
TMPL. This causes an instance of the TMPL to be copied below the PFIT, 
leading to:

\begin{center}
\textbf{\textit{In Design DB:}}
\end{center}

\begin{center}
{\scriptsize \textbf{... ...}
\end{center}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.01in,height=0.09in]{Design46.eps}}
\label{fig46}
\end{figure}

\begin{flushright}
{\small \textbf{PLOO PAVEs}
\end{flushright}

{\small \textbf{PANE}

{\small \textbf{BOX NBOX}

{\small \textbf{PFIT TMPL}

\textbf{NBOX DDSE}

\begin{flushright}
{\tiny \textbf{...}
\end{flushright}

{\small \textbf{BOX NBOX}

{\small \textbf{TPWL TMAR TMPL}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.01in,height=0.09in]{Design47.eps}}
\label{fig47}
\end{figure}

\textbf{NBOX DDSE}

{\scriptsize \textbf{...}

\subsubsection{Setting a template reference in a Specification}
\label{subsubsec:setting}
We will now enter the PDMS Catalogue Construction module, Paragon, and 
modify an existing Specification by adding a new Specification Component. We 
will then set the TMPREF of this SPCO to point to our newly created design 
template.

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.01in,height=0.09in]{Design48.eps}}
\label{fig48}
\end{figure}

{\small \textit{Adding a Template into a Catalogue Specification}}

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item If you are still in Design, select \textbf{Design\textgreater Modules\textgreater Paragon\textgreater Macro Files }to change to Paragon. If you have left PDMS, log back in to project SAM as user CATS, as in Step 2, but this time load module Paragon from macro files. You will see the \textbf{Paragon General Application }menu bar and the \textbf{Members List}.
\end{enumerate}
In the current version of PDMS, the Paragon graphical user interface has not 
yet been extended to include facilities for modifying specifications, so 
select \textbf{Display\textgreater Command Line }to display a 
\textbf{Command Input {\&} Output }window.

Using the \textbf{Members List}, we will navigate to the existing SELE in 
which we will create the new SPCO

\begin{enumerate}
\item Go to the SPWL /SAMPLE/PENI/SPEC.
\end{enumerate}
From the main menu bar, select \textbf{Query\textgreater Attributes }to list 
the attributes of the current Specification World within the \textbf{Query 
}form. Note that the Description is set to Structural and the Purpose is set 
to STL (Steel), showing that these specifications are intended for use in 
structural designs.

\begin{enumerate}
\item Go to the SPEC /SAMPLE/PENH/PIPE/PFIT.
\end{enumerate}
This specification is intended for panel fittings which represent 
penetration holes through which pipes can pass.

\begin{enumerate}
\item Go to SELE 1 (there is only one SELE under this SPEC).
\item Go to SELE 3.
\end{enumerate}
You will see that this SELE already holds two SPCOs:

SAMPLE/PEN/PFIT/PENH/FITT/RECT SAMPLE/PEN/PFIT/PENH/FITT/RECT2

Go to either of the SPCOs and query its attributes (if you still have the 
\textbf{Query }form on display the SPCO's attributes will automatically 
appear within it, otherwise select \textbf{Query\textgreater Attributes 
}again). Note that its Catalogue Reference (Catref) is set to point to a 
catalogue component (/PENH/FITT/RECT or /PENH/FITT/RECT2), while its 
Template Reference (Tmpref) is not set (Nulref or $=$0/0).

\begin{enumerate}
\item To create a specification component for selecting the kickplate template, type (on the command line)
\end{enumerate}
NEW SPCO /TMPL/SAMPLE/KICKPLATE

To set its Template Reference, type

TMPREF /Kickplate-1

(this is the name which we allocated to the template in Step 22).

Query the attributes of the new SPCO, checking that its Catref is set to 
Nulref (or $=$0/0) and its Tmpref is set to /Kickplate-1.

\begin{enumerate}
\item Save your catalogue changes and exit from Paragon. You can either change back to Design if you want to continue with the exercises, or leave PDMS if you want to take a break.
\end{enumerate}

That completes the first introductory exercise for the creation of a design 
template. The template now exists in the Design database and a new 
specification component, pointing to the template, has been added into the 
Catalogue database.

If you want to see the effect from a designer's point of view, enter the 
Design Panels {\&} Plates application and create a Panel Fitting by 
selecting the kickplate from the available Fitting specifications. If you 
have not yet used this application, it is suggested that you work through 
the exercise in the guide \textit{Structural Design Using PDMS}, but select the new template rather than the 
suggested manhole when you reach the relevant part of the exercise.

The next chapter will introduce some additional concepts, illustrating them 
with a more complex example.

\section{A More Advanced Example}
\label{sec:mylabel2}
To illustrate the principles of design templates more fully, particularly 
the ways in which rules defining property values can be specified, this 
chapter continues the exercise using a more complex example.

\subsubsection{Building up a Design from subsidiary parts}
\label{subsubsec:building}
In the preceding part of the exercise, the whole of the design model 
represented by the template was derived from a single Equipment element 
which owned three member primitives. For more complex items, it is often 
better to divide the design into subsidiary parts (represented by, say, 
Sub-Equipment elements), each of which is referenced from a parent design 
template.

Consider, for example, a cylindrical vessel with selectable end 
configurations and a set of supports. If the end configurations and the 
support set are defined as subsidiary designs, they can be re-used for a 
range of vessels. We will create a template for the following equipment 
design (typical end types shown for illustration only):

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.20in,height=0.81in]{Design49.eps}}
\label{fig49}
\end{figure}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.10in,height=0.10in]{Design50.eps}}
\label{fig50}
\end{figure}

\begin{center}
{\small LENG}
\end{center}

\begin{flushright}
{\small DIAM}
\end{flushright}

{\small \textbf{Coned End (SUBE)}}

{\small CHEI}

{\small \textbf{Main Body (EQUI)}}

{\small \textbf{Dished End (SUBE)}}

\begin{flushright}
{\small \textbf{Origin}}
\end{flushright}

\begin{flushright}
{\small \textbf{Supports (SUBE)}}
\end{flushright}

{\small \textbf{Positioning datum level}}

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Restart PDMS if necessary and load the Design Equipment application.
\end{enumerate}

Navigate to the Zone which you created for these exercises (i.e. TMPLZONE).

\begin{enumerate}
\item Create an Equipment element named Test-Vessel comprising:
	\begin{itemize}
	\item a cylinder with its Z-axis pointing North (i.e. the cylinder will be horizontal), and with Height (Length) 1500 and Diameter 400;
		\begin{itemize}
		\item a negative cylinder with its Z-Axis pointing Up (remember that this orientation is defined with respect to the owning cylinder, whose Z/Up direction is already set to North), and with Height (Length) 1500 and Diameter 380.
		\end{itemize}
	\end{itemize}
\item Change to the Design Templates application.
\end{enumerate}
In the \textbf{Template Browser}, navigate to the Template Area which you 
created for these exercises (i.e. Template Area for exercises). In the 
\textbf{Design Explorer}, navigate to the Equipment on which the template is 
to be based (i.e. Test-Vessel).

Select \textbf{Create\textgreater Template }to create a design template 
copied from the equipment.

Set the following Template Information:

Name Vessel-Main-Body

Purpose Unset Description Vessel main body Function VESSEL

Generic Type VESS

Leave the Origin at (0,0,0).

Select both Create List option buttons, Properties and Points, so that a 
Design Dataset (to hold design properties) and a Pointset (to hold design 
points) will be created ready for later use.

Click OK to complete the template creation. Select 
\textbf{Display\textgreater Selected Template }to show the new template in 
the \textbf{3D View}.

\begin{enumerate}
\item Select \textbf{Modify\textgreater Property Definitions }to display the \textbf{Define Template Properties }form (remember that you created the Design Dataset in the preceding step).
\end{enumerate}
We will first create those properties which define the dimensions of the 
main body of the vessel and its position. We will later create some other 
properties which identify the subsidiary items which are to be merged with 
this body in the final design; namely the sub- equipments representing the 
vessel ends and the supports.

Before we begin, we will look at ways of restricting the options available 
to a designer when they create a template instance.

\subsubsection{Restricting property values for use in a Design}
\label{subsubsec:restricting}
When we set the properties for the kickplate, in the earlier steps of the 
exercise, we did not impose any restrictions on the dimensions which a 
designer could apply when using the template. The design parameters 
representing the kickplate's length, width, height and wall thickness could 
be set to any values.

As a template designer, you can restrict the values which a user can set in 
one of two ways. These are controlled by the Range/Values option near the 
centre of the \textbf{Define Template Properties }form, and act as follows:

\begin{itemize}
\item Range lets you specify minimum and maximum values for a design parameter. These are stored in the MinMax attribute of the Design Data (DDAT) element corresponding to that property. When used in a design, only values in the specified range will be accepted.
\item Values lets you specify a list of discrete values for a design parameter. These are stored as the ValidV attributes of Valid Value (VVALUE) elements owned by the DDAT corresponding to that property. When used in a design, only these values will be available for selection from a list.
\end{itemize}
We will use both of these methods in the following steps.

\begin{figure}[htbp]
\centerline{\includegraphics[width=5.44in,height=0.03in]{Design51.eps}}
\label{fig51}
\end{figure}

\textbf{\textit{Exercise continues}}\textbf{\textit{:}}

\begin{enumerate}
\item We will set the first property to represent the outside diameter of the vessel body. Enter the following data:
\end{enumerate}
Description: Diameter of Vessel

Key: DIAM (it is good practice to use common keys in all equipment and 
sub-equipment templates to make their rules consistent)

Definition/No: Design Parameter 1 Data Type: Distance

Default: 1000 (making this larger than the original

equipment diameter of 400 lets you see the change take effect in the 
\textbf{3D View})

We will restrict the user's choice of diameter values to some explicit 
dimensions. To do so, select the Values option and click the 

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.27in,height=0.27in]{Design52.eps}}
\label{fig52}
\end{figure}

button to the right of that row of gadgets. The resulting \textbf{Set Valid 
Values }form contains a text-pane into which you can type your list of valid 
diameters. Enter the following values:

400 500 1000 1200 2000 4000

either separated by spaces or on separate lines. Note that this list should 
include the default value (in this case 1000), otherwise a designer cannot 
easily reset this if they have changed it. Click OK to store the valid 
values data, then click the Include button on the \textbf{Define Template 
Properties }form to add the property into the Currently Defined Properties 
list. Navigate to the TMPL

\begin{figure}[htbp]
\centerline{\includegraphics[width=2.84in,height=2.35in]{Design53.eps}}
\label{fig53}
\end{figure}

/Vessel-Main-Body in the \textbf{Design Explorer }and check that its DDSE 
owns a DDAT which owns six VVALUEs (one for each valid diameter). (See 
below.)

\begin{enumerate}
\item The next property will represent the length of the vessel body. Enter the following data:
\end{enumerate}
Description: Length of Vessel

Key: LENG

Definition/No: Design Parameter 2 Data Type: Distance

Default: 2000

For this property we will restrict the user's choice of length to any value 
between specified limits. To do so, select the Range option and enter 1000 
and 4000 in the From and To fields.

\textbf{Note: }Changing to Range automatically clears any Values data stored 
by the \textbf{Set Valid Values }form; otherwise this data remains in force 
until you delete it. Take care not to set new properties to the current 
valid values data unintentionally.

Include the new property in the Currently Defined Properties list.

\begin{enumerate}
\item Create a third property representing the wall thickness of the vessel body. Enter the following data:
\end{enumerate}
Description: Thickness of Vessel

Key: THKN

Definition/No: Design Parameter 3 Data Type: Distance

Default: 20

This property will have no restrictions on its values, so keep the Range 
option selected and delete the entries from the From and To fields.

\begin{enumerate}
\item Create a fourth property representing the height of the vessel's centreline above the floor (the latter level will be correspond to the template's origin; see diagram at the beginning of this chapter). Enter the following data:
\end{enumerate}
Description: Centreline Height Key: CHEI

Definition/No: Design Parameter 4 Data Type: Distance

Default: 600

This property will have no restrictions on its values, so leave the

Range option as it is.

\subsubsection{Adding Design Points}
\label{subsubsec:adding}
To provide convenient reference points for the relative positioning of items 
which make up the design template model, a design point can be created at 
any required location.

A design point, owned by a Design Pointset (DPSE), can be specified in three 
ways:

\begin{itemize}
\item A Cartesian Point (DPCA) is specified in terms of its coordinates only.
\item A Cylindrical Point (DPCY) is specified as a position on the surface of a cylinder at a given position and with given dimensions.
\item A Spherical Point (DPSP) is specified as a position on the surface of a sphere at a given position and with given dimensions.
\end{itemize}

Each design point, like a p-point, has both a position and an orientation. 
(The on-line help includes diagrams illustrating these concepts; refer to 
these if you need further clarification.)

For convenience when positioning the sub-equipments which will represent the 
ends of the vessel, we will create a design point at the centre of each end 
of the vessel body.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Set the view direction to \textbf{Look\textgreater East}. Check that the Vessel Main Body template is the current element. Notice that this already owns an empty Design Pointset (DPSET 1) which was created in Step 46. Select \textbf{Modify\textgreater Points}. You will see a \textbf{Design Points }form showing that no points have yet been defined.
\item From the \textbf{Design Points }menu bar, select \textbf{Create\textgreater Cartesian Point}. On the resulting form enter the following data:
\end{enumerate}
Number: 1 (set automatically) Description: Datum Point 1 Function: SUBE

Point Direction:

Direction of Design Point (Z) N Normal direction (Y) E

(This orientation will not be relevant when positioning items relative to 
this design point, but is set here so that you will see the design point 
better in the \textbf{3D View}.)

We will position the design point by graphical picking. Click the

Pick button, then pick P1 of CYLINDER 1 ....

OK the \textbf{Create - Cartesian Design Point }form. Notice how the new 
point is shown in the list in the \textbf{Design Points }form and is also 
labelled (as \textbf{DP1}) in the \textbf{3D View}. To change the colour of 
the displayed design point, if it is difficult to see, select 
\textbf{Settings\textgreater Graphics\textgreater Colour }and change the 
Aids colour.

\begin{enumerate}
\item Create a similar design point, Datum Point 2, at the other end of the vessel body. The \textbf{Create Cartesian Design Point }form will have retained the previous settings, so you only need edit these slightly. The new point should have its Z direction set to S and should be positioned at P2 of CYLINDER 1 ....
\end{enumerate}

We will pause here to introduce two new concepts which are relevant at this 
stage of the exercise.

\subsubsection{Assigning local names to template elements}
\label{subsubsec:assigning}
When a design template is copied into the design model, confusion can arise 
in the identification of members of the template instance. For example, the 
penetration/kickplate which we defined in the first part of the exercise 
included two negative boxes, thus:

\textbf{Original template}

\textbf{Template instance in design model}

{\scriptsize ...

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.01in,height=0.09in]{Design54.eps}}
\label{fig54}
\end{figure}

\begin{flushright}
{\small BOX
\end{flushright}

\begin{flushright}
{\small \textbf{NBOX}
\end{flushright}

{\small TPWL TMAR TMPL

\textbf{NBOX }DDSE

\begin{flushright}
{\tiny ...
\end{flushright}

{\small PLOO PAVEs

{\small PANE

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.01in,height=0.09in]{Design55.eps}}
\label{fig55}
\end{figure}

{\small BOX

{\small \textbf{NBOX}

{\small PFIT TMPL

\textbf{NBOX }DDSE

{\scriptsize ...

These are identifiable in the design model only as NBOX 1 of TMPL 1 of PFIT 
and NBOX 1 of BOX 1 of TMPL 1 of PFIT. Even if we had named them in the 
design template, the names would not have been copied to the design instance 
because an element name cannot be used more than once in a Design database. 
If the design instance were modified by including other negative boxes, 
either or both of the original NBOXes might no longer be correctly 
identified as NBOX 1 and any reference to it in a rule could lead to an 
incorrect result.

To avoid such ambiguities in identifying members of a design template, these 
elements can be assigned local names. A local name is stored in the design 
template definition and is copied into every instance, so that references to 
local names within rules remain valid.

A local name can comprise up to 20 characters, and each template can store 
up to 500 local names. Duplicate local names are not allowed within a given 
design template, but the same local name may be used in any number of 
different design templates within a single Design database.

To assign local names, navigate to the owning TMPL and use the

\textbf{Modify\textgreater Local Names }menu option.

To refer to a local name in a rule or dataset expression, use the format 
LNID /localname to specify an element in the current template or MLNID 
/localname to specify an element in a template which is a member of the 
current element.

\subsubsection{Specifying priorities for evaluating rules}
\label{subsubsec:specifying}
When the rules within a design template definition are executed (as, for 
example, when an instance of the template is copied into the design model), 
the rules for the member elements are evaluated, by default, in descending 
hierarchic order.

If, however, the rules for one element involve the current attributes of 
another element, the order in which the rules are executed becomes 
significant and the default sequence may not give the intended result. As an 
example, if the positions of elements /A and /B are both defined by rules, 
and if the position of /A is defined relative to that of /B, then the rule 
for positioning /A will only give the correct result if the rule for /B has 
already been executed.

You can control the order in which the rules for a given template will be 
executed by assigning a rule sequence number to any element which has a 
local name (see Section 7.4). When the template rules are re-executed, the 
rules for such elements will be executed in ascending order of their 
sequence numbers: the rules for elements without numbers will then be 
executed in the default sequence.

Thus, in the preceding example, you would assign a smaller sequence number 
to element /B than to /A, so that the rule for positioning /B is executed 
before the rule for /A.

To specify the sequence in which the rules for template members are to be 
executed, first allocate local names to the relevant elements, then use the 
\textbf{Modify\textgreater Order Local Names }menu option to sort the list 
of local names into the required order.

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.01in,height=0.09in]{Design56.eps}}
\label{fig56}
\end{figure}

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item We will assign local names to the two design points and to the cylinder representing the main body of the vessel (the reasons will become clear when we set up the parameterisation rules).
\end{enumerate}
Select \textbf{Modify\textgreater Local Names}. The \textbf{Define Local 
Names }form lists all template members which can have local names (i.e. all 
primitives and design points).

Select (1) DPCA in the list and, on the resulting \textbf{Local Name 
Definition }form, enter Datum-Point-1.

Similarly, assign local names Datum-Point-2 to (2) DPCA and Main-Body to 
CYLI 1. You do not need to assign a local name to the negative cylinder. The 
result should be:

\begin{figure}[htbp]
\centerline{\includegraphics[width=4.48in,height=3.17in]{Design57.eps}}
\label{fig57}
\end{figure}

\begin{enumerate}
\item When the template rules are evaluated, the positions of the design points will be derived from the positions of the cylinder's p-points. It is important, therefore, that the rules for the cylinder are evaluated \textbf{before }the rules for the design points.
\end{enumerate}
Select \textbf{Modify\textgreater Order Local Names}. The \textbf{Local Name 
Rule Sequence }form lists all elements with local names in the order in 
which their rules will be evaluated. By default, this is the order in which 
the names were assigned.

\begin{figure}[htbp]
\centerline{\includegraphics[width=3.06in,height=2.45in]{Design58.eps}}
\label{fig58}
\end{figure}

Select /Main-Body and click 

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.36in,height=0.40in]{Design59.eps}}
\label{fig59}
\end{figure}

to move this name to the top of the list, thus:

OK the change, then dismiss the form.

We will now set rules for the template parameters in terms of the properties 
defined so far. The effect will be to move the primitives and

design points to the required positions relative to the template origin, as 
shown in the diagram at the beginning of this chapter.

\begin{enumerate}
\item Select \textbf{Modify\textgreater Parameterisation }to show the \textbf{Parameterisation of Members }form. In the Template Members list, select CYLI 1. Notice how the current position and orientation of the cylinder are shown in the \textbf{3D View}. Its Origin is at its centre.
\end{enumerate}
We want to move the cylinder so that Design Point 1 (at P1) is directly 
above the template origin, with a separation given by the Centreline Height 
(CHEI) property defined in Step 51.

Select Position in the Defined Rules list and enter the Cardinal Position 
rules as follows:

East leave unset

South CDPR LENG / 2

Up CDPR CHEI

OK the change.

To display the origin and orientation for the overall design template, 
navigate to /Vessel-Main-Body in the \textbf{Design Explorer }and either 
select \textbf{Query\textgreater Axes }or click 

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.26in,height=0.25in]{Design60.eps}}
\label{fig60}
\end{figure}

. On the \textbf{Define Axes }form, select Cardinal Directions to show ENU 
directions instead of XYZ directions. Select \textbf{Close\textgreater 
Retain Axes }to dismiss the form while still showing the axes.

Look carefully at the new position for the cylinder relative to the template 
origin: it may not be quite as you expected. We will now consider why this 
should be.

The effect of the last change was to move the cylinder up by the CHEI 
dimension and south by half the LENG dimension.

Remember, however, that until the template is instanced in a design, and the 
design parameters are set, the \textbf{default }values for these dimensions 
apply. The \textbf{actual }cylinder length is currently that of the original 
Equipment from which the template was copied.

Consider the position along the cylinder's axis, looking East. Its length, 
defined by its Height attribute in Step 45, is 1500. The parameterisation 
rule has moved the cylinder along its axis by half the default LENG, which 
was set to 2000 in Step 49:

{\small \textit{(not to scale)}}

\begin{enumerate}
\item Select Height in the Defined Rules list and enter the rule CDPR LENG. Notice that because this setting increases the length of the vessel to the default value of LENG (namely 2000), the effect shown in the preceding diagram is corrected.
\item \begin{figure}[htbp]
\centerline{\includegraphics[width=3.87in,height=1.08in]{Design61.eps}}
\label{fig61}
\end{figure}

\item Set the rule for Diameter to CDPR DIAM. Leave the Orientation rule unset, so that the cylinder's orientation always defaults to that of its owning equipment when the template is instanced in a design. The resulting rule set for the cylinder will be:
\item Now select NCYL 1 in the Template Members list and set appropriate rules for its Position, Height and Diameter. The result should be:
\end{enumerate}
\begin{figure}[htbp]
\centerline{\includegraphics[width=4.50in,height=1.26in]{Design62.eps}}
\label{fig62}
\end{figure}

Did you remember that the position of the negative cylinder is defined with 
respect to that of its owning cylinder (i.e. at 0,0,0)?

\begin{enumerate}
\item Select (1) DPCA and set a rule for its Position as follows:
	\begin{itemize}
	\item On the \textbf{Rule Definition (Position) }form, set Ppoint/Origin to Use. Notice how the upper part of the form (Cardinal Position) is now greyed out.
	\end{itemize}
\item[\textbullet] The expression which we want to enter is
\end{enumerate}
AT PP1 of LNID /Main-Body

which positions the design point at a p-point of the locally- named cylinder 
(see section 7.4 for an explanation of why a local name is required here). 
Rather than type in the required expression in full, we will use a utility 
which helps to build up expressions from their component parts. To do so, 
click 

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.22in,height=0.20in]{Design63.eps}}
\label{fig63}
\end{figure}

to the right of the Position text-box to display the \textbf{Position Rule 
Definition }form. This form lists all data for the current template which 
you might want to include in the expression for the Position rule, namely 
all properties and local names, plus some commonly used functions and 
operators.

\begin{enumerate}
\item[\textbullet] First, select AT from the Functions list and notice how this is copied into the Expression text pane.
\item[\textbullet] Next, type PP1 of (since this is not available from the lists).
\item[\textbullet] Check that the Local Names option is set to Template, then select /Main-Body from the Local Names list. Notice how the prefix LNID (as specified by the Template option) is included automatically.
\item[\textbullet] OK the 'expression builder' form to copy the expression to the \textbf{Rule Definition (Position) }form. OK the latter to complete the setting of the rule.
\item Repeat this sequence to set the Position of the second design point
\end{enumerate}
(2) DPCA to PP2 of the same cylinder.

\begin{enumerate}
\item Switch to wireline mode, or set the graphical representation to shows holes drawn, and check that the positive and negative cylinders correctly represent the vessel body. When you are satisfied, dismiss the parameterisation form.
\end{enumerate}

\subsubsection{Setting references to sub-equipments}
\label{subsubsec:mylabel17}
The vessel ends for the equipment represented by our template will be 
defined in the design by setting specification references which point to 
other templates based on appropriate sub-equipments. For the purpose of this 
exercise, we will use some existing ends which are supplied as part of the 
sample project. In practice, you would usually have designed this yourself 
using the same methods as for the overall equipment, and would have included 
them in your catalogue specifications.

When instanced in a design, the resulting selection route would be as 
follows:

\textbf{EQUI P}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.15in,height=0.11in]{Design64.eps}}
\label{fig64}
\end{figure}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.13in,height=0.13in]{Design65.eps}}
\label{fig65}
\end{figure}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.13in,height=0.13in]{Design66.eps}}
\label{fig66}
\end{figure}

\textbf{TMPL SUBE}

(Vessel body)

\textbf{SUBE}

\begin{flushright}
\textbf{DDSE}
\end{flushright}

SPRE 

\textbf{TMPL}

\textbf{TMPL}

(First end) (Second end)

\begin{center}
TMPR 
\end{center}

\begin{center}
\textbf{SPCO}
\end{center}

\textbf{DDAT}

{\small Dddfault (ID /SUBE/EndType1)}

\textbf{VVALUE}

{\small Validv (ID /SUBE/EndType1)}

\textbf{VVALUE}

{\small Validv (ID /SUBE/EndType2)}

Each Valid Value (VVALUE) under the data element stores a reference to a 
Specification Component (SPCO) which has its Template Reference (TMPR) 
pointing to a TMPL representing a specific vessel end (as illustrated for 
the default setting).

The Sub-Equipment (SUBE) elements shown in the hierarchy are created under 
the Equipment automatically when the properties are set for the design 
template instance.

The equipment template which we are creating in the exercise will have two 
possible design types (that is, two valid values) for each end: the 'closed 
end' will have either a dished end or a flanged end; the `open end' will 
have either a dished end or a conical end.

\textbf{NOTE: }Because the rules which define the vessel end types will not 
be executed until the template is instanced in a design, you will not be 
able to see the complete vessel while you are working in the Design 
Templates application. It is important, therefore, that you set the rules 
very carefully.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Navigate to /Vessel-Main-Body and select \textbf{Modify\textgreater Property Definitions }to show the \textbf{Define Template Properties }form again.
\end{enumerate}
Define the property for the first end as follows:

Description: Closed End Key: CEND

Definition: Sub Element Ref

Data Type: Sub Ref (set automatically) Default: (We will come back to this a 
little later)

We will restrict the settings for this property to a choice between

two end configurations. The Values option is set automatically (since a 
range of references would be meaningless), so click on 

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.27in,height=0.27in]{Design67.eps}}
\label{fig67}
\end{figure}

to display the \textbf{Set Valid Values }form. The data which you must enter 
into the List of Valid Values field are the names of the SPCOs which point 
to the required end types. If you can remember them, you can type the names 
in directly; otherwise, you can navigate to them using the \textbf{Members 
}list and use the Add CE button to copy their names into the text pane. We 
will use the latter method.

The \textbf{Members }list can be displayed using \textbf{Display\textgreater 
Members }from the top menu bar

Because we are working in the Design database and the specifications are 
stored in the Catalogue database, you will not see the required data in the 
current \textbf{Members }list. We must navigate to the relevant 
Specification World (SPWL), which was included in the sample data. In the 
text-box at the top of the \textbf{Members }list, enter

\begin{figure}[htbp]
\centerline{\includegraphics[width=1.86in,height=2.39in]{Design68.eps}}
\label{fig68}
\end{figure}

/ADV/SUBE/SPWL and press Enter to navigate to the named element.

Navigate down the specification hierarchy in the following sequence:

SPEC /ADV/SUBE/VESSELS

SELE /ADV/SUBE/VESS/CONNECTIONS SELE /ADV/SUBE/VESS/DISHENDS/1

SPCO /EXAMPLE/SUBE/VESS/DishedEnd/1

\begin{figure}[htbp]
\centerline{\includegraphics[width=2.85in,height=2.78in]{Design69.eps}}
\label{fig69}
\end{figure}

This will be the first entry in our valid values list, so click the Add CE 
button on the \textbf{Set Valid Values }form.

Navigate up two levels (to .../CONNECTIONS) and then:

SELE /ADV/SUBE/VESS/FLGENDS/1

SPCO /EXAMPLE/SUBE/VESS/FlangedEnd/1

Click Add CE again to make this the second valid end type.

We must next assign the rules defining the position and orientation of this 
vessel end, so do not click OK yet.

\begin{enumerate}
\item The end types which we will be using have all been defined in the catalogue such that the origin is at the centre of the face which adjoins the vessel and the Y direction points away from the vessel. For example, for the dished end:
\end{enumerate}
\begin{figure}[htbp]
\centerline{\includegraphics[width=0.34in,height=1.17in]{Design70.eps}}
\label{fig70}
\end{figure}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.15in,height=0.08in]{Design71.eps}}
\label{fig71}
\end{figure}

{\tiny \textbf{Y}

\textbf{Note: }When you design sub-equipment templates such as these, it is 
important to maintain strict naming, positioning and orientation 
conventions, otherwise you will cause confusion when your templates are used 
in a design.

On the \textbf{Set Valid Values }form, click the Rule Definition button.

On the \textbf{Associated Rule Definition }form, enter:

Description: Position

Purpose: Sub-Equipment Reference (set automatically)

Attribute: Sub-Equipment Position

We want to position the origin of this sub-equipment at the midpoint of one 
end of our vessel body. Instead of calculating this position, we will refer 
to the locally-named design point which we placed here for just this purpose 
in Section 7.3. We will use the second Design Point for the closed end, so 
enter the Associated Rule as:

AT LNID /Datum-Point-2 of TMPL 1 of EQUIP

Click Include to add this into the Rules Defined list. Define the next rule 
using the following settings: Description: Orientation

Purpose: Sub-Equipment Reference (set automatically)

Attribute: Sub-Equipment Orientation

Enter the Associated Rule as:

Y is S and Z is U

and include this in the list.

OK the \textbf{Associated Rule Definition }form, then OK the \textbf{Set 
Valid Values}

form.

\begin{enumerate}
\item We will now set the Default (which we bypassed in Step 64) on the \textbf{Define Template Properties }form. Set this to the SPCO for the dished end, namely /EXAMPLE/SUBE/VESS/DishedEnd/1. You can either type this in directly, or redisplay the \textbf{Set Valid Values }form temporarily and use a copy/paste operation.
\end{enumerate}
Include the property in the dataset list.

\begin{enumerate}
\item Repeat Steps 64 to 66 to achieve the following settings.
\end{enumerate}
\textbf{Define Template Properties }form: Description: Open End Key: OEND

Definition: Sub Element Ref Data Type: Sub Ref

Default: /EXAMPLE/SUBE/VESS/ConedEnd/1

\textbf{Set Valid Values }form:

/EXAMPLE/SUBE/VESS/ConedEnd/1

/EXAMPLE/SUBE/VESS/FlangedEnd/1

\textbf{Associated Rule Definition }form:

Position: AT LNID /Datum-Point-1 of TMPL 1 of

EQUIP

Orientation: Y is N and Z is U

(The latter is the default orientation, so you could leave this rule unset. 
It is, however, good practice to set such rules explicitly to avoid any 
uncertainty.)

\begin{figure}[htbp]
\centerline{\includegraphics[width=3.65in,height=1.78in]{Design72.eps}}
\label{fig72}
\end{figure}

At this point, your defined template properties should be:

We will pause here to see how the rules which we have just defined for 
positioning and orientating the sub-equipment templates are stored in the 
Design database.

\subsubsection{How rules associated with valid values are stored}
\label{subsubsec:mylabel18}
Look at the Design Dataset (DDSE) members for the current template in the 
\textbf{Members List.}

\textbf{Hint: }For a quick way of returning the focus of the \textbf{Members 
}list from the Catalogue database to the Design database, check that 
Navigate on selection is selected in the \textbf{Template Browser }and 
reselect the current template in the browser's list.

You will see that the Design Data (DDAT) elements holding the properties for 
the end types (probably DDATs 5 and 6) each own two Attribute Rule (ATTRRL) 
elements, in addition to the VVALUE elements which store the reference 
pointers to the end type specifications. These Attribute Rules store the 
associated rules, in this case for position and orientation, in their 
AttRule attributes.

When the template is instanced in a design, these associated rules are 
executed and the sub-equipments which they define are positioned and 
orientated accordingly.

\subsubsection{Adding vessel supports}
\label{subsubsec:mylabel19}
We will next add some user-selectable supports to the vessel body. These 
will be specified in exactly the same way as for the vessel ends, namely by 
setting a property which includes specification references to some pre- 
defined sub-equipment templates representing different support 
configurations.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Redisplay the \textbf{Define Template Properties }form and use the following property settings.
\end{enumerate}
\textbf{Define Template Properties }form:

Description: Supports Key: SUPP

Definition: Sub Element Ref Data Type: Sub Ref

Default: /STD/2-Footed-Box/CL/TYPE

\textbf{Set Valid Values }form:

/STD/2-Footed-Box/CL/TYPE

/STD/3-Footed-Box/CL/TYPE

If you want to check these, you will find them in the Catalogue database 
under the following hierarchy:

SPWL /ADV/EQUIPMENT/SUPP/SPWL SPEC /ADV/EQUIPMENT/SUPPORTS

SELE /ADV/EQUIPMENT/HORIZONTAL/VESS/SUPPS SELE 
/ADV/EQUIPMENT/HORIZONTAL/VESS/SUPPS/1

\textbf{Associated Rule Definition }form:

The catalogue definition for each of these supports has the support position 
at the origin of the Equipment and the orientation the same as that of the 
Equipment, so no associated rules are required. You must, therefore, remove 
any associated rules which may already be set. The dimensions of the support 
will be derived from the design parameters of the owning Equipment, so that 
the overall support will be resized automatically to suit the dimensions of 
the vessel body.

That completes the definition of the equipment template's geometry. We will 
finish the design by adding some dimensioning annotation which can be 
displayed by the user when the template is instanced in a design model.

\subsubsection{Showing dimensions on template designs}
\label{subsubsec:showing}
The Design Templates application incorporates a facility for creating pairs 
of Dimension Points (actually spherical design points; see Section 7.3), for 
use as datum points for displaying design template dimensions. Each 
dimension point can have its position and associated projection line defined 
by a set of rules.

If you are dimensioning a new template, where no dimension point rules have 
yet been defined, an `autobuild' function can be used to create pairs of 
dimension points automatically for all design parameters.

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.13in,height=0.12in]{Design73.eps}}
\label{fig73}
\end{figure}

The dimensions which we will add to our equipment template, based on the 
design parameters specified in Steps 48 to 51, are as follows (the numbers 
will be explained in the next steps):

While each dimension point position and projection line extension could be 
defined explicitly, this could lead to an inappropriate display if, say, the 
vessel were made large enough to obscure them. It is best, therefore, to 
specify the positions and extensions in terms of rules based on the design 
parameter values. The dimensioning annotations are then scaled automatically 
as the vessel dimensions are modified.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item With /Vessel-Main-Body as the current element, select \textbf{Create\textgreater Dimension Points}. You will see a \textbf{Dimension Point Definition }form which lets you specify the position (Dimension Position), extension line length (Dimension Extension) and extension line
\end{enumerate}

direction (Dimension Direction) for each dimension point in each pair.

\begin{figure}[htbp]
\centerline{\includegraphics[width=4.62in,height=1.79in]{Design74.eps}}
\label{fig74}
\end{figure}

From the \textbf{Dimension Point Definition }form's menu bar, select 
\textbf{Control\textgreater AutoBuild}. This will create two dimension 
points for each of the four design parameters, as shown in the Dimension 
Points list, thus:

The points are numbered in pairs (as shown in the preceding diagram), and 
are given descriptions which include the design parameter DKEYs; for 
example, points 101 and 102 form a pair which will show the DIAM dimension.

When first created, all dimension points are positioned at the template 
origin (shown by the sphere in the \textbf{3D View}). What we now have to do 
is reposition each point and specify its projection line length and 
direction.

\begin{enumerate}
\item Select point 101. Leave the Design Point Description, Design Param No. and Dpoint No. settings as they are (we will not change these for any of the points).
\end{enumerate}
Click 

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.27in,height=0.27in]{Design75.eps}}
\label{fig75}
\end{figure}

next to the Dimension Position field to display the \textbf{Position Rule 
Definition }`expression builder' form. Build up the following expression and 
compare it with the design parameter definitions to ensure that you 
understand why it gives a suitable position for this point:

N (CDPR LENG / 2) U (CDPR CHEI -- CDPR DIAM / 2)

(The expression builder may insert extra spaces and pairs of parentheses, 
but these are not essential.) The N (north) displacement, by half the length 
of the vessel body, should be sufficient to position the dimension point 
clear of the vessel's end in the completed design.

Set the Dimension Extension to (CDPR LENG / 2) and the

Dimension Direction to S (south), so that the projection line

from this point is directed towards, and just reaches, the end of the vessel 
body.

Click the Replace button to overwrite the data for point 101 with you new 
settings. The effect is as follows:

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.13in,height=0.12in]{Design76.eps}}
\label{fig76}
\end{figure}

{\small Dimension point 101 at new position}

{\small Dimension point 102 still at origin}

\begin{enumerate}
\item Select point 102. This will differ from point 101 only in its U (up) coordinate, so, to save entering all the data again, click the Copy Partner button. This button copies all position and projection line settings from the other point in a pair; for example, from 201 to 202 or from 202 to 201.
\end{enumerate}
Edit the Dimension Position rule by changing the -- sign to a $+$

sign, thus:

N (CDPR LENG / 2) U (CDPR CHEI $+$ CDPR DIAM / 2)

and click Replace. The result should be:

{\small Dimension point 102}

{\small Diameter of V}

{\small Dimension point 101}

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.13in,height=0.12in]{Design77.eps}}
\label{fig77}
\end{figure}

\begin{enumerate}
\item We will set the Thickness dimension points next, since these will use some of the data from the Diameter points. (It is sensible to think about the order in which you edit dimension points, so that you minimise the amount of editing required.)
\item Select point 301. The data for this point will be derived from the settings for point 102, so click the Copy Last Point button. This button copies all position and projection line settings from the point which was selected prior to the current point (which in this case was point 102).
\item We will position point 301 midway between point 102 and the end of the vessel body, so edit the rules thus:
\end{enumerate}
Dimension Position:

N (CDPR LENG / 4) U (CDPR CHEI $+$ CDPR DIAM / 2 )

Dimension Extension: (CDPR LENG / 4)

Dimension Direction: S

and Replace.

\begin{enumerate}
\item Set the rules for point 302 by using the Copy Partner facility.
\end{enumerate}
The only rule change needed is to reduce the U(up) co-ordinate by the 
vessel's wall thickness, thus:

Dimension Position:

... U (CDPR CHEI $+$ CDPR DIAM / 2 -- CDPR THKN)

\begin{enumerate}
\item We will next set the rules for the Centreline Height dimension points, positioning these at the opposite end of the vessel from the previous points for clarity.
\end{enumerate}
Set the rules for point 401 as follows:

Dimension Position:

S (CDPR LENG * 1.5)

Dimension Extension: (CDPR LENG * 1.5)

Dimension Direction: N

Set the rules for point 402, using Copy Partner, thus:

Dimension Position:

S (CDPR LENG * 1.5) U (CDPR CHEI)

Dimension Extension: (CDPR LENG * 0.5)

Dimension Direction: N

\begin{enumerate}
\item Finally, we will set the rules for the Length dimension points. We will position these points relative to the locally-named design points at the centres of the vessel body end faces.
\end{enumerate}
Set the rules for point 201 thus:

Dimension Position:

U (CDPR DIAM * 2) from LNID /Datum-Point-1

(use the expression builder's Local Names feature)

Dimension Extension: (CDPR DIAM * 1.5)

Dimension Direction: D

and the rules for point 202 thus:

Dimension Position:

U (CDPR DIAM * 2) from LNID /Datum-Point-2

Dimension Extension: (CDPR DIAM * 1.5)

Dimension Direction: D

When you are satisfied that all of the dimensioning rules are correct, 
select \textbf{Control\textgreater Close }to dismiss the \textbf{Dimension 
Point Definition }form.

\subsubsection{Testing your design template}
\label{subsubsec:testing}
The only way to test the combined effects of all of the design template 
settings is to add a reference to the template into a catalogue 
specification (as you did for the kickplate, in Chapter 6) and then to 
select an instance of the template for inclusion in a design model.

\textbf{\textit{Exercise continues:}}

\begin{enumerate}
\item Change to the Paragon module.
\end{enumerate}
We will create a new Specification Component under an existing part of the 
Specification hierarchy. Navigate via the following route:

SPWL /ADV/EQUIPMENT/SPWL SPEC /CADCENTRE-ADV-EQUIP SELE CADCENTRE-ADV/VESSEL

SELE /ADV/EQUIPMENT/HORIZONTALS SELE /ADV/EQUIPMENT/STORAGE-1

From the command line, create a new SPCO thus:

NEW SPCO /Exercise-vessel TANS 'EXAMPLE-2'

TMPREF /Vessel-Main-Body

where the Template Reference attribute points to the equipment template 
which you created in the preceding steps.

\begin{enumerate}
\item Change back to Design, enter the Equipment application and, from a suitable hierarchic level, select \textbf{Create\textgreater Standard}.
\end{enumerate}
On the \textbf{Create Standard Equipment }form, select Specification: CADC 
Advanced Equip. From the lower selection lists, select in turn:

\begin{longtable}[htbp]
{|p{113pt}|l|}
\hline
\endhead
\hline
\endfoot
{\small CADCENTRE Advanced:}& 
{\small ''Advanced'' Vessels} \\
\hline
{\small Vessel Type:}& 
{\small ''Horizontal'' Vessels} \\
\hline
{\small Specific Type:}& 
{\small ''Horizontal'' Storage Vessels with Dished Ends} \\
\hline
{\small Selection:}& 
{\small ''EXAMPLE-2'' Vessel main body}
\label{tab3}
\end{longtable}

Click the Properties button. Notice the following features of the property 
settings, each of which currently shows its default setting:

\begin{itemize}
\item Centreline Height (as defined in Step 51) and Thickness of Vessel (defined in Step 50) let you type in any value. No restrictions were set.
\item Length of Vessel (as defined in Step 49) will only accept lengths in the range 1000 to 4000. Only lets you select a specific dimension from the drop-down list.
\item Diameter of Vessel (as defined in Step 48) only lets you select a specific dimension from the drop-down list.
\item Closed End (as defined in Steps 64 to 66), Open End (as defined in Step 67), and Supports (as defined in Step 68) each let you select appropriate sub-equipment items from the drop- down specification lists.
\end{itemize}
Leave all of the default settings in force for the first test of the 
template.

\begin{enumerate}
\item Click OK on the \textbf{Modify Properties }form, and then click Apply on the \textbf{Create Standard Equipment }form. Pick the position in the \textbf{3D View }at which the new equipment, based on your design template, is to be positioned.
\end{enumerate}
\textbf{This is the moment of truth! }If you set every one of the design 
template properties and rules correctly, the new equipment (as viewed 
looking East) will look similar to the diagram on the first page of this 
chapter. If it does, well done! If it does not, you must go back into the 
Design Template application and carefully check each setting.

\begin{enumerate}
\item When you are satisfied with the template geometry, redisplay the \textbf{Modify Properties }form in the Equipment application and change each property in turn to check that the results are all as intended.
\item The toggles (check boxes) immediately to the right of the four dimension fields on the \textbf{Modify Properties }form let you display the dimension points for the corresponding parameters (as defined in
\end{enumerate}
\begin{figure}[htbp]
\centerline{\includegraphics[width=3.42in,height=2.58in]{Design78.eps}}
\label{fig78}
\end{figure}

Steps 69 to 77). Set all of these to On and check that each dimension is 
displayed correctly in the \textbf{3D View}.

That completes the exercises. The final chapters introduce a few additional 
concepts and give some hints on good design practices for template 
designers.

\section{Some Further Information for Template Designers}
\label{sec:mylabel3}
This chapter gives some further information which could be relevant as you 
develop more complicated design templates.

\subsubsection{Using pseudo-attributes for accessing data}
(This section reiterates and expands the concept of extracting design 
parameter settings for use in template property rules.)

Design Datasets (DDSE) are used to store the properties of design template 
items, which may then be used to define the template's parameters. Each 
property is stored in a Design Data (DDAT) element under a DDSE, with each 
DDAT being identified by a keyword held in its DKEY attribute. The property 
definition can be specified by an expression held in the DDPR (Design Data 
Property) attribute, while a default value for the property (to be used if 
the expression cannot be evaluated for any reason) can be stored in the DDDF 
(Design Data Default) attribute.

Unlike a design reference to a catalogue component, which can access only a 
single catalogue dataset via its DTREF setting, a reference to a design 
template can access more than one design dataset. A local design dataset is 
owned directly by the current element, a template design dataset is owned by 
the first template below the current element, while a current design dataset 
is at the same level as the current element and has the same owner.

The following diagram illustrates the relative positions of these types of 
dataset for a simple design hierarchy, namely a Panel Fitting derived by 
instancing a Design Template which includes a Box primitive:

\begin{center}
{\small \textbf{PFIT}}
\end{center}

\begin{flushright}
{\small \textbf{TMPL}}
\end{flushright}

{\small \textit{current}}

{\small \textbf{DDSE(1)}}

{\small \textit{local}}

{\small \textit{template}}

\begin{flushright}
{\footnotesize \textbf{BOX}}
\end{flushright}

{\small \underline {\textit{current }}}

{\small \textbf{DDSE(2)}}

{\small \textit{local}}

The full range of pseudo-attributes available for accessing the properties 
data in the various types of dataset in the Design database are as follows:

\begin{longtable}[htbp]
{|p{166pt}|l|l|l|}
\hline
\endhead
\hline
\endfoot
{\small }& 
{\small CurrentD ataset}& 
{\small Local Dataset}& 
{\small Template Dataset} \\
\hline
{\small List of property keys}& 
{\small CDPL}& 
{\small DEPL}& 
{\small PRLS} \\
\hline
{\small Real property values}& 
{\small CDPR}& 
{\small LDPR}& 
{\small TDPR} \\
\hline
{\small Text or real property values}& 
{\small TCDP}& 
{\small DEPR}& 
{\small PROP} \\
\hline
{\small Text or real property default values}& 
{\small TCDD}& 
{\small DEPD}& 
{\small PRDE} \\
\hline
{\small Reference settings}& 
{\small CFDP}& 
{\small LFDP}& 
{\small TFDP}
\label{tab4}
\end{longtable}

You can also derive data values from the parameters of items in the 
Catalogue database by using the RPRO (Reference Property) pseudo- attribute.

\subsubsection{Associating a plotfile with a design template}
\label{subsubsec:associating}
When a designer creates a design element by instancing a design template, 
the \textbf{Create ... }form incorporates a Plotfile button which can 
display an associated plotfile; typically a dimensioned plot of the 
parameterised item. If no plotfile exists, this button is greyed out. If 
there is such a plotfile, it can also be shown as part of the \textbf{Modify 
Properties }form (depending on the user's Property Settings options).

To associate such a plotfile with a template, proceed as follows:

\begin{enumerate}
\item Display the \textbf{Define Template Properties }form (see Step 47, or select
\end{enumerate}
\textbf{Modify\textgreater Property Definitions }for an existing template).

\begin{enumerate}
\item Enter, for example, Description: Plotfile and Key: PLOT. Set Definition to Plotfile.
\item In the Data area, set Type to the plot format (Portrait or
\end{enumerate}
Landscape).

\begin{enumerate}
\item The default plotfile directory is as specified by the PDMSPLOTS environment variable. In the Sub-Dir field, enter the path from this default directory to the directory holding the plotfile; and in the field below this, enter the name of the plotfile (typically with a .plt suffix).
\item When you click Include, the validity of the path and filename will be checked before the property definition is accepted.
\end{enumerate}

\section{Hints and Tips}
\label{sec:hints}
This chapter summarises the main points to remember to ensure success when 
creating your own range of templates.

\subsubsection{Preliminary planning}
\label{subsubsec:preliminary}
It is essential that you think very carefully about the geometry and 
parameterisation of the required template before you create anything. It is 
particularly important to consider the relationship between the item for 
which you are designing the template and the way in which it is intended to 
be used in a design.

A simple sketch of the intended configuration before you begin can save much 
wasted effort at a later stage. Decide the dataset properties, including 
their DKEYs and default values, at this stage, and write them on the sketch 
so that you can remember them when you set up the parameterisation rules. 
The sketches in Section 5.1 (the kickplate example) and Section 7.1 (the 
equipment example) illustrate the principle.

This practice is the same as you would adopt when designing catalogue 
components. The difference is that the catalogue geometry immediately 
reflects the results of parametric expressions, so that errors are obvious, 
whereas template rules may fail if there are errors in the rules, but you 
may not see this until they are used in a design.

\subsubsection{Some specific points to remember}
\label{subsubsec:mylabel20}
\paragraph{Get the template origin right}
When you first create a template by copying a design item, it is important 
that you immediately position the individual elements correctly to give the 
most appropriate origin position for the template. You need to consider not 
only the template origin, but also the origin and axes of its intended owner 
when instanced in a design. If you need to change the origin after 
parameterising the components, you will invalidate the rules which you have 
set.

\paragraph{Get the template orientation right}
\label{para:mylabel1}
Make sure that the orientation of the components in the template is correct. 
Rules must take into account the orientation of the intended owner when 
instanced in a design.

\paragraph{Use a consistent naming convention}
\label{para:mylabel6}
To make it easier to set up cross-references between design items, such as 
when setting rules involving specification references to, say, associated 
sub-equipments, it is important that you adopt and maintain a meaningful 
naming convention. If not, you will soon forget which element is which and, 
worse, other users will have great difficulty in following the logic of your 
designs.

Give the template a Description as well as a Name, since this will be 
displayed as an aid to the user when the template is selected as the basis 
for a newly created design element. Within the Design Template application, 
it is the Description which is listed in the \textbf{Template Browser}, 
while the Name is listed in the \textbf{Design Explorer}.

\paragraph{Do not use `external' values directly in rules}
\label{para:mylabel7}
An expression for a template dimension may require a value derived from a 
design item not included in the template; for example, the thickness of the 
owning panel when a panel fitting template is instanced in a design. Always 
define such a value as a template property (DDAT), with a default setting; 
do \textbf{not }use the external value directly in a template rule. This is 
because the owning design item does not exist in the template world, and so 
rule execution will fail unless a default value is available to be used 
while the template is being defined. The setting of the Panel Thickness 
property in Step 28, with its default dimension, gave an example of this.

The same principle applies when the template includes variable specification 
references to other items (which may, or may not, be templates themselves). 
Again, the specification reference must be defined in the template's dataset 
so that the default specification can be used to validate the template 
rules. The selection of the equipment end types in Section 7.6 gave an 
example of this process.

\paragraph{Consider adding extra design points}
\label{para:consider}
It is often convenient to add design points into the template so that you 
can use their positions and/or directions for later reference. They behave 
in a similar way to p-points in the catalogue, and can be used for reference 
in other Design and Draft operations as well as in template

\begin{figure}[htbp]
\centerline{\includegraphics[width=0.03in,height=0.01in]{Design79.eps}}
\label{fig79}
\end{figure}

{\small \textit{Hints and Tips}}

dataset rules. The equipment template design steps in Chapter 5 gave an 
example of their creation and subsequent use.

\paragraph{Consider the units of measurement}
\label{para:mylabel8}
It is important to consider units when setting rules directly in a template. 
If you use a constant value in a rule, always specify the units to avoid 
ambiguity; for example,

Rule Set Pos (N (CDPR HEIG $+$ 15 mm) otherwise the current units will be 
assumed.

Remember that, in a metric catalogue, items are always dimensioned in mm, so 
a reference to these in a rule must take this into account. For example, if 
you use the RPROP pseudo-attribute to extract the value of a catalogue 
parameter, the result will always be in mm, so you must include a conversion 
factor in your rule if you are designing using non- metric units.

\textbf{Note: }This does not apply if the catalogue value is defined within 
a design dataset, because units are handled internally within datasets.

\paragraph{Consider associated negative geometry}
\label{para:mylabel9}
If negative geometry is required to cut through an owning element in a 
design instance, the negative primitives must be owned directly by the 
template and parameterised accordingly. The kickplate template design steps 
in Section 4.6 gave an example of this.

The properties of such negative items will often be derived from the 
dimensions of owning elements in the design; see Section 9.2.4.

\paragraph{Always test a new template in a Design}
\label{para:always}
Some template rules may not be able to be evaluated fully until the template 
is instanced in a design; for example, the rules for positioning and 
orientating the sub-equipments representing the vessel ends in Section 7.6 
cannot be tested until the specification references for the sub- equipments 
are set. You cannot check if these rules are correctly defined from within 
the Design Template application. It is important, before you release a new 
template to other users, that you incorporate it into a specification (which 
can be a dummy specification reserved for this purpose), and then create an 
instance in a design application to check that everything behaves as you 
intended. Change each of the main property settings in the design to test 
the effects.

\section{Other relevant documentation}
\label{sec:other}
This guide is intended only as an introduction to those parts of PDMS most 
relevant to template design. As such, it describes only the main concepts 
needed to get you started. Should you need more detailed information about 
any topic, the following documents are available.

\subsection{On-Line Help}
For detailed instructions on the use of the forms and menus via which you 
control the application, on-line help is provided as an integral part of the 
user interface.

The Help option on the menu bars gives you the following choices:

\textbf{Help\textgreater Contents}

This displays the \textbf{Help }window so that you can find the required 
topic from the hierarchical contents list.

\textbf{Help\textgreater Index}

This displays the \textbf{Help }window with the \textbf{Index }tab selected, 
so that you can browse for the topic you want to read about from the 
alphabetically- arranged list. You can locate topics quickly by typing in 
the first few letters of their title.

\textbf{Help\textgreater Search}

This displays the \textbf{Help }window with the \textbf{Search }tab at the 
front so that you can find all topics containing the keywords you specify.

\textbf{Help\textgreater About}

This displays information about the current operating system on your 
computer and about the versions of PDMS and its applications to which you 
have access.

Pressing the F1 key at any time will display the help topic for the 
currently active window.

{\small \textit{Other relevant documentation}}

\subsection{PDMS introductory guides}
\label{subsec:mylabel1}
The guide that you are now reading is one of a series of `getting started' 
guides which aim to introduce new users to the use of PDMS as quickly as 
possible. Other guides in this series include:

\textit{Pipework Design Using PDMS Structural Design Using PDMS Industrial Building Design Using PDMS HVAC Design Using PDMS}

\textit{Support Design Using PDMS Reporting From PDMS}

\begin{longtable}[htbp]
{|}
\label{tab5}
\end{longtable}

\begin{enumerate}
\item {\large \textbf{PDMS Reference Manuals}}
\end{enumerate}

The full PDMS documentation set includes a number of reference manuals which 
give detailed explanations of all the technical concepts involved. These 
manuals also describe the underlying command syntax which can be used to 
control PDMS directly (thus bypassing the forms and menus interface).

Covers concepts and commands for all design disciplines.

Explains the PDMS 2D drafting facilities. Explains how to set up a PDMS 
Catalogue

Explains how to create tabulated specifications.

{\footnotesize A-2 Introduction to VANTAGE PDMS Design Templates}

{\footnotesize Version 11.6SP1}

{\small \textit{Other relevant documentation}}

\subsection{General Guides}
The following guides are intended for use only by experienced PDMS users who 
want to write their own applications:

\textit{Plant Design Software Customisation Guide}

Explains how to write your own application macros using PML (AVEVA's 
Programmable Macro Language) and how to design your own forms and menus 
interface.

\textit{Plant Design Customisation Reference Manual}

Supplements the \textit{Customisation Guide}. Includes a list of PML 2 Objects, Members and Methods. For 
Forms and Menus objects, the command syntax relating to the objects is 
included.

{\footnotesize Introduction to VANTAGE PDMS Design Templates A-3}

{\footnotesize Version 11.6SP1}

\section{Index}
\begin{flushright}
3D view 3-6
\end{flushright}

\begin{flushright}
displaying template 4-8
\end{flushright}

Application definition 2-1

Attribute

as a property 5-2

Attribute Rule (ATTRRL) element. 7- 17

AttRule attribute 7-17

Autobuild function

dimension point creation 7-19, 7-20 Button

control 3-10

\begin{flushright}
radio 3-9
\end{flushright}

\begin{flushright}
toggle 3-9
\end{flushright}

\begin{flushright}
Cartesian design point (DPCA) 7-5
\end{flushright}

\begin{flushright}
Catalogue Reference (CATREF) 6-1
\end{flushright}

\begin{flushright}
Catalogue reference property 8-2
\end{flushright}

CDPR

current design property ..... 5-6, 8-2 Check box 3-9

Colour\textless {\#}106\textgreater shaded view 4-3

Control button 3-10

Copy Last Point facility

dimension point editing 7-21

Copy Partner facility

\begin{flushright}
dimension point editing 7-21
\end{flushright}

\begin{flushright}
Current design dataset 8-1
\end{flushright}

\begin{flushright}
Current design property........ 5-6, 8-2 Cylindrical design point (DPCY) 7-5
\end{flushright}

DDAT element 8-1

DDDF attribute 8-1

DDPR attribute 8-1

DDSE element 8-1

Design Data Default attribute 8-1

Design Data element ............. 5-1, 8-1 Design Data Property attribute 
8-1

Design Dataset element .5-1, 8-1

Design Explorer 3-5

Design parameter

\begin{flushright}
as a property 5-2
\end{flushright}

\begin{flushright}
Design point 7-5
\end{flushright}

\begin{flushright}
Design pointset (DPSE) 7-5
\end{flushright}

Design Template

\begin{flushright}
creating 4-6
\end{flushright}

\begin{flushright}
displaying 4-8
\end{flushright}

\begin{flushright}
Design Template element 4-5
\end{flushright}

\begin{flushright}
Dimension points 7-19
\end{flushright}

\begin{flushright}
automatic creation 7-20
\end{flushright}

\begin{flushright}
DKEY attribute 8-1
\end{flushright}

\begin{flushright}
Escape key/button 3-8
\end{flushright}

Event\textless {\#}106\textgreater driven graphics mode 4- 7

Execution of rules 7-8

Expression

\begin{flushright}
as a property 5-2
\end{flushright}

\begin{flushright}
Graphical view 3-6
\end{flushright}

\begin{flushright}
Help, on-line 3-11
\end{flushright}

\begin{flushright}
Instance 4-1
\end{flushright}

\begin{flushright}
Isometric view 4-3
\end{flushright}

LDPR

local design property 8-2

List

\begin{flushright}
scrollable 3-10
\end{flushright}

\begin{flushright}
Local design dataset 8-1
\end{flushright}

\begin{flushright}
Local design property 8-2
\end{flushright}

\begin{flushright}
Local names 7-7
\end{flushright}

\begin{flushright}
Members List form 4-5
\end{flushright}

Menu

\begin{flushright}
pull-down 3-6
\end{flushright}

\begin{flushright}
Menu bar ................................3-5, 3-6
\end{flushright}

\begin{flushright}
MinMax attribute 7-3
\end{flushright}

Module

definition 2-1

{\small \textit{Index}}

Mouse buttons

\begin{flushright}
functions 3-1
\end{flushright}

\begin{flushright}
On-line help 3-11
\end{flushright}

\begin{flushright}
Option button 3-3
\end{flushright}

Origin

of template 4-7

P\textless {\#}106\textgreater point

picking using event\textless {\#}106\textgreater driven graphics 4-8

Parameter

\begin{flushright}
defining 5-4
\end{flushright}

\begin{flushright}
Parameters 5-1
\end{flushright}

Plotfile

as a property 5-2

associating with a template 8-2

Position

\begin{flushright}
using event\textless {\#}106\textgreater driven graphics
\end{flushright}

\begin{flushright}
................................................ 4-7
\end{flushright}

Preview

of template 5-5

Primitives

\begin{flushright}
creating ............................... 4-3, 4-9
\end{flushright}

\begin{flushright}
Priorities for rules 7-8
\end{flushright}

\begin{flushright}
Project selection 3-3
\end{flushright}

\begin{flushright}
Prompts 3-8
\end{flushright}

\begin{flushright}
Properties 5-1
\end{flushright}

\begin{flushright}
querying 5-6
\end{flushright}

Property values

\begin{flushright}
limiting to valid values 7-3
\end{flushright}

\begin{flushright}
restrictions 7-3
\end{flushright}

\begin{flushright}
specifying a valid range 7-3
\end{flushright}

\begin{flushright}
Pull-down menu 3-6
\end{flushright}

\begin{flushright}
Radio button 3-9
\end{flushright}

\begin{flushright}
Reference property 8-2
\end{flushright}

Representation

3D view 4-3

RPRO

catalogue reference property 8-2

Rule

defining 5-4

execution 7-8

Rule sequence number 7-8

Rules 5-1

Scrollable list 3-10

Sequence number for rules 7-8

Site

\begin{flushright}
creating 4-2
\end{flushright}

\begin{flushright}
Specification (SPEC) 6-1
\end{flushright}

\begin{flushright}
Specification Component 7-13
\end{flushright}

Specification Component (SPCO) . 6-1 Specification reference

\begin{flushright}
as a property 5-2
\end{flushright}

\begin{flushright}
Specification Selector (SELE) 6-1
\end{flushright}

\begin{flushright}
Spherical design point (DPSP) 7-5
\end{flushright}

\begin{flushright}
Status bar ...............................3-6, 3-8
\end{flushright}

Sub-element reference

\begin{flushright}
as a property 5-2
\end{flushright}

\begin{flushright}
Sub-equipment elements 7-1
\end{flushright}

\begin{flushright}
Submenu 3-6
\end{flushright}

\begin{flushright}
Subsidiary design items 7-1
\end{flushright}

TDPR

template design property 8-2

Template Area

\begin{flushright}
creating 4-6
\end{flushright}

\begin{flushright}
Template Area element 4-5
\end{flushright}

\begin{flushright}
Template Browser form 4-5
\end{flushright}

\begin{flushright}
Template design dataset 8-1
\end{flushright}

\begin{flushright}
Template design property 8-2
\end{flushright}

\begin{flushright}
Template Reference (TMPREF) 6-1
\end{flushright}

\begin{flushright}
Template Reference attribute 7-13
\end{flushright}

Template World

\begin{flushright}
creating 4-5
\end{flushright}

\begin{flushright}
Template World element 4-5
\end{flushright}

\begin{flushright}
Text box 3-2
\end{flushright}

\begin{flushright}
Title bar 3-5
\end{flushright}

TMAR

Template Area element 4-5

TMPL

Design Template element 4-5

Tool bar...................................3-5, 3-6 TPWL

{\footnotesize Index-ii Introduction to VANTAGE PDMS Design Templates}

{\footnotesize Version 11.6SP1}

\begin{flushright}
{\small \textit{Index}}
\end{flushright}

\begin{flushright}
Template World element 4-5
\end{flushright}

\begin{flushright}
Valid Value (VVALUE) element 7-3
\end{flushright}

\begin{flushright}
ValidV attribute 7-3
\end{flushright}

View

\begin{flushright}
3D/graphical 3-6
\end{flushright}

\begin{flushright}
Wireline view 4-3
\end{flushright}

Zone

creating 4-2

\end{document}
